diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-09-01 15:22:34 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-09-01 15:22:34 -0400 |
commit | 7203162071163108cbbb18f90ddb7f5d6734f8bd (patch) | |
tree | 698966629d29e71f77777c75331aeac272e0371a /indra/llmessage/tests/networkio.h | |
parent | 31d3d654f156351e3cf29f97fd97cbda046ae650 (diff) | |
parent | 1bbc523b048628630e0a45f67f15cdf39cb138d9 (diff) |
Automated merge with file:///Users/nat/linden/viewer-comment-lllog
Diffstat (limited to 'indra/llmessage/tests/networkio.h')
-rw-r--r-- | indra/llmessage/tests/networkio.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llmessage/tests/networkio.h b/indra/llmessage/tests/networkio.h index 2aff90ca1e..5eb739393f 100644 --- a/indra/llmessage/tests/networkio.h +++ b/indra/llmessage/tests/networkio.h @@ -34,6 +34,7 @@ #include "llares.h" #include "llpumpio.h" #include "llhttpclient.h" +#include "llexception.h" /***************************************************************************** * NetworkIO @@ -51,7 +52,7 @@ public: ll_init_apr(); if (! gAPRPoolp) { - throw std::runtime_error("Can't initialize APR"); + LLTHROW(LLException("Can't initialize APR")); } // Create IO Pump to use for HTTP Requests. @@ -59,7 +60,7 @@ public: LLHTTPClient::setPump(*mServicePump); if (ll_init_ares() == NULL || !gAres->isInitialized()) { - throw std::runtime_error("Can't start DNS resolver"); + LLTHROW(LLException("Can't start DNS resolver")); } // You can interrupt pump() without waiting the full timeout duration |