comparison Framework/StoneException.h @ 1047:efc5b62b9539

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Oct 2019 18:06:58 +0200
parents e160159b1905
children 348866dd217c
comparison
equal deleted inserted replaced
1046:513a4053c54a 1047:efc5b62b9539
84 return "The OpenGL/WebGL context has been lost!"; 84 return "The OpenGL/WebGL context has been lost!";
85 } 85 }
86 void* context_; 86 void* context_;
87 }; 87 };
88 88
89 // TODO - Is this still necessary?
89 class StoneOrthancException : public StoneException 90 class StoneOrthancException : public StoneException
90 { 91 {
91 protected: 92 protected:
92 Orthanc::OrthancException& orthancException_; 93 Orthanc::OrthancException& orthancException_;
93 94
107 { 108 {
108 return orthancException_.What(); 109 return orthancException_.What();
109 } 110 }
110 }; 111 };
111 112
113 // TODO - To be moved in "../Applications/"
112 class StoneApplicationException : public StoneException 114 class StoneApplicationException : public StoneException
113 { 115 {
114 protected: 116 protected:
115 int applicationErrorCode_; 117 int applicationErrorCode_;
116 mutable std::string errorMessage_; 118 mutable std::string errorMessage_;