summaryrefslogtreecommitdiffstats
path: root/src/2geom/path.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-17 23:06:41 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-17 23:06:41 +0000
commitbd06562677b313a9a4dc1706c63655bbaef0e681 (patch)
treefb1f84c776797767b4c608becfa4c36b5f14fd82 /src/2geom/path.h
parentfix compile warning with C++ style cast (diff)
downloadinkscape-bd06562677b313a9a4dc1706c63655bbaef0e681.tar.gz
inkscape-bd06562677b313a9a4dc1706c63655bbaef0e681.zip
2geom: splice exceptions code from utils.h into exception.h
(bzr r4097)
Diffstat (limited to 'src/2geom/path.h')
-rw-r--r--src/2geom/path.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/2geom/path.h b/src/2geom/path.h
index 053bc06c9..988babe3e 100644
--- a/src/2geom/path.h
+++ b/src/2geom/path.h
@@ -33,8 +33,7 @@
#include "point.h"
#include <iterator>
#include <algorithm>
-#include <exception>
-#include <stdexcept>
+#include "exception.h"
#include "d2.h"
#include "matrix.h"
#include "bezier.h"
@@ -411,12 +410,6 @@ private:
Iterator impl_;
};
-class ContinuityError : public std::runtime_error {
-public:
- ContinuityError() : runtime_error("non-contiguous path") {}
- ContinuityError(std::string const &message) : runtime_error(message) {}
-};
-
class Path {
private:
typedef std::vector<Curve *> Sequence;