summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-31 14:38:35 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-31 14:38:35 +0100
commitd6b067d2a2ec5f0490c9fb17ddd605d0e860480d (patch)
treee09a1ab45914404287c62ec643a79c81e5c4c27d /src/exceptions.h
parente7c76c9b740f01c3dbc259e4f23acba65cfb7c03 (diff)
Some Doxygen comments.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 5e784ee..f2f1246 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -22,6 +22,9 @@
namespace sub {
+/** @class XMLError
+ * @brief An error raised when reading an XML file.
+ */
class XMLError : public std::exception
{
public:
@@ -37,7 +40,10 @@ private:
/** error message */
std::string _message;
};
-
+
+/** @class STLError
+ * @brief An error raised when reading a binary STL file.
+ */
class STLError : public std::exception
{
public: