summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
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: