summaryrefslogtreecommitdiffstats
path: root/src/exceptions
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-08-09 15:18:57 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-08-09 15:18:57 +0000
commit21f7809f953a75b9e6214d0549a7f1941e3df7b9 (patch)
tree52943c1d770f38323c302bd999da15bb0e8a4429 /src/exceptions
parentdd733c25d1d2777c0c07490cea0c5636352c7bfb (diff)
downloadzetacomponents-graph-21f7809f953a75b9e6214d0549a7f1941e3df7b9.zip
zetacomponents-graph-21f7809f953a75b9e6214d0549a7f1941e3df7b9.tar.gz
- Added templating for SVG documents
Diffstat (limited to 'src/exceptions')
-rw-r--r--src/exceptions/invalid_id.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/exceptions/invalid_id.php b/src/exceptions/invalid_id.php
new file mode 100644
index 0000000..d849f13
--- /dev/null
+++ b/src/exceptions/invalid_id.php
@@ -0,0 +1,26 @@
+<?php
+/**
+ * File containing the ezcGraphSvgDriverInvalidIdException class
+ *
+ * @package Graph
+ * @version //autogen//
+ * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
+ * @license http://ez.no/licenses/new_bsd New BSD License
+ */
+/**
+ * Exception thrown when a id could not be found in a SVG document to insert
+ * elements in.
+ *
+ * @package Graph
+ * @version //autogen//
+ */
+class ezcGraphSvgDriverInvalidIdException extends ezcGraphException
+{
+ public function __construct( $id )
+ {
+ parent::__construct( "Could not find element with id <{$id}> in SVG document." );
+ }
+}
+
+?>
+
OpenPOWER on IntegriCloud