summaryrefslogtreecommitdiffstats
path: root/src/2geom/exception.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-01-17 21:04:37 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-01-17 21:04:37 +0000
commit38413c0255c7c4e41113c0cacc2a8022d0e0c26b (patch)
tree9f10e40c0246fab7a790848f5b41240f1139daa4 /src/2geom/exception.h
parentremove SPDesktop from SPNamedView when it is destroyed. Fixing bug 183621, bu... (diff)
downloadinkscape-38413c0255c7c4e41113c0cacc2a8022d0e0c26b.tar.gz
inkscape-38413c0255c7c4e41113c0cacc2a8022d0e0c26b.zip
Geom: fix a crash on assertion in sbasis-to-bezier.cpp
(bzr r4541)
Diffstat (limited to 'src/2geom/exception.h')
-rw-r--r--src/2geom/exception.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/2geom/exception.h b/src/2geom/exception.h
index 0791c8547..920cd5808 100644
--- a/src/2geom/exception.h
+++ b/src/2geom/exception.h
@@ -53,6 +53,7 @@ public:
protected:
std::string msgstr;
};
+#define throwException(message) throw(Geom::Exception(message, __FILE__, __LINE__))
//-----------------------------------------------------------------------
// Two main exception classes: LogicalError and RangeError.