diff options
Diffstat (limited to 'lib/exceptions/resources/ResourceNoTimeRangeException.php')
| -rw-r--r-- | lib/exceptions/resources/ResourceNoTimeRangeException.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/exceptions/resources/ResourceNoTimeRangeException.php b/lib/exceptions/resources/ResourceNoTimeRangeException.php new file mode 100644 index 0000000..f1c5f2c --- /dev/null +++ b/lib/exceptions/resources/ResourceNoTimeRangeException.php @@ -0,0 +1,24 @@ +<?php + +/** + * ResourceNoTimeRangeException.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 at least one time range is required + * in a method but no time range is provided. + */ +class ResourceNoTimeRangeException extends InvalidArgumentException +{ + +} |
