diff options
Diffstat (limited to 'src/exceptions/no_such_element.php')
-rw-r--r-- | src/exceptions/no_such_element.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/exceptions/no_such_element.php b/src/exceptions/no_such_element.php new file mode 100644 index 0000000..6832d23 --- /dev/null +++ b/src/exceptions/no_such_element.php @@ -0,0 +1,25 @@ +<?php +/** + * File containing the ezcGraphNoSuchElementException 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 + */ +/** + * ezcGraphUnknownChartTypeException is the exception which is thrown when the + * factory method tries to return an instance of an unknown chart type + * + * @package Graph + * @version //autogen// + */ +class ezcGraphNoSuchElementException extends ezcGraphException +{ + public function __construct( $name ) + { + parent::__construct( "No chart element with name <{$name}> found." ); + } +} + +?> |