summaryrefslogtreecommitdiff
path: root/indra/llmessage/llhttpnode.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2016-07-21 09:08:28 -0700
committerRider Linden <rider@lindenlab.com>2016-07-21 09:08:28 -0700
commit31009296bb8658155b1622395f9a0e9eb2ab3a51 (patch)
tree4bcacc043c143079a0e70cb0aa22ad2c444674d1 /indra/llmessage/llhttpnode.cpp
parentd0d07ccac565632497c50510714b30503be8aa94 (diff)
parent9c49a6c91dd9b5bbe811fcd91d8992ed6bac33e7 (diff)
Merge
Diffstat (limited to 'indra/llmessage/llhttpnode.cpp')
-rw-r--r--indra/llmessage/llhttpnode.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/llmessage/llhttpnode.cpp b/indra/llmessage/llhttpnode.cpp
index f235965879..48ce258ba2 100644
--- a/indra/llmessage/llhttpnode.cpp
+++ b/indra/llmessage/llhttpnode.cpp
@@ -31,6 +31,8 @@
#include "llstl.h"
#include "llhttpconstants.h"
+#include "llexception.h"
+#include <boost/throw_exception.hpp>
const std::string CONTEXT_HEADERS("headers");
const std::string CONTEXT_PATH("path");
@@ -92,27 +94,28 @@ LLHTTPNode::~LLHTTPNode()
namespace {
- class NotImplemented
+ struct NotImplemented: public LLException
{
+ NotImplemented(): LLException("LLHTTPNode::NotImplemented") {}
};
}
// virtual
LLSD LLHTTPNode::simpleGet() const
{
- throw NotImplemented();
+ BOOST_THROW_EXCEPTION(NotImplemented());
}
// virtual
LLSD LLHTTPNode::simplePut(const LLSD& input) const
{
- throw NotImplemented();
+ BOOST_THROW_EXCEPTION(NotImplemented());
}
// virtual
LLSD LLHTTPNode::simplePost(const LLSD& input) const
{
- throw NotImplemented();
+ BOOST_THROW_EXCEPTION(NotImplemented());
}
@@ -172,7 +175,7 @@ void LLHTTPNode::del(LLHTTPNode::ResponsePtr response, const LLSD& context) cons
// virtual
LLSD LLHTTPNode::simpleDel(const LLSD&) const
{
- throw NotImplemented();
+ BOOST_THROW_EXCEPTION(NotImplemented());
}
// virtual