New exception type.

This commit is contained in:
jgen 2014-04-25 16:07:30 -04:00
parent 9acf6c7f19
commit 5b5fd955b7

View File

@ -9,3 +9,11 @@ class SCoreException extends Exception {}
*/
class PermissionDeniedException extends SCoreException {}
/**
* Class ImageDoesNotExist
*
* This exception is used when an Image cannot be found by ID.
*
* Example: Image::by_id(-1) returns null
*/
class ImageDoesNotExist extends SCoreException {}