diff options
Diffstat (limited to 'src/exceptions')
-rw-r--r-- | src/exceptions/invalid_id.php | 26 |
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." ); + } +} + +?> + |