diff options
Diffstat (limited to 'lib/exceptions/resources/InvalidResourceException.php')
| -rw-r--r-- | lib/exceptions/resources/InvalidResourceException.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/exceptions/resources/InvalidResourceException.php b/lib/exceptions/resources/InvalidResourceException.php new file mode 100644 index 0000000..de61d24 --- /dev/null +++ b/lib/exceptions/resources/InvalidResourceException.php @@ -0,0 +1,25 @@ +<?php + +/** + * InvalidResourceException.php + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * @author Moritz Strohm <strohm@data-quest.de> + * @copyright 2017 + * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 + * @category Stud.IP + */ + +/** + * This exception is thrown when a resource is invalid, + * either because of its place in the resource hierarchy + * or because it has been initialised with the wrong Resource class. + */ +class InvalidResourceException extends InvalidArgumentException +{ + +} |
