summaryrefslogtreecommitdiff
path: root/indra/llkdu/llimagej2ckdu.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-08-17 15:47:08 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-08-17 15:47:08 -0400
commit83eb9600631fcb98275b8d3db736f692fd5e6e1c (patch)
treef317e3671a7757229f78d2db66e6205afc3a6f19 /indra/llkdu/llimagej2ckdu.cpp
parent993f54f6e91d78a9c2e1389ad878d6bd46e9be5b (diff)
MAINT-5011: Derive image-load exceptions from LLContinueError.
Failure to load an image shouldn't crash the whole viewer.
Diffstat (limited to 'indra/llkdu/llimagej2ckdu.cpp')
-rw-r--r--indra/llkdu/llimagej2ckdu.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llkdu/llimagej2ckdu.cpp b/indra/llkdu/llimagej2ckdu.cpp
index 341c47a268..4c2eac9eea 100644
--- a/indra/llkdu/llimagej2ckdu.cpp
+++ b/indra/llkdu/llimagej2ckdu.cpp
@@ -38,9 +38,10 @@
#include <boost/exception/diagnostic_information.hpp>
namespace {
-struct KDUError: public LLException
+// Failure to load an image shouldn't crash the whole viewer.
+struct KDUError: public LLContinueError
{
- KDUError(const std::string& msg): LLException(msg) {}
+ KDUError(const std::string& msg): LLContinueError(msg) {}
};
} // anonymous namespace