diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-05 17:28:58 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-05 17:28:58 +0000 |
commit | 490013fdd8d91593b6162fa0292fc90003285b2d (patch) | |
tree | 0e6ad8f9ea680049c525ed5366155285c5ae782e /engine/lib/exceptions.php | |
parent | 76f3df5d78d2579a496c93f6655df8c78f74c6b0 (diff) | |
download | elgg-490013fdd8d91593b6162fa0292fc90003285b2d.tar.gz elgg-490013fdd8d91593b6162fa0292fc90003285b2d.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* A couple more exceptions
git-svn-id: https://code.elgg.org/elgg/trunk@81 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/exceptions.php')
-rw-r--r-- | engine/lib/exceptions.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/engine/lib/exceptions.php b/engine/lib/exceptions.php index 0c9b9b0d7..000501196 100644 --- a/engine/lib/exceptions.php +++ b/engine/lib/exceptions.php @@ -55,6 +55,13 @@ */ class APIException extends Exception {} + /** + * @class CallException + * An exception thrown when there is a problem calling something. + * @author Marcus Povey <marcus@dushka.co.uk> + */ + class CallException extends Exception {} + // Class exceptions /////////////////////////////////////////////////////////////////////// /** @@ -79,4 +86,21 @@ * @author Marcus Povey <marcus@dushka.co.uk> */ class InstallationException extends ConfigurationException {} + + // Call exceptions //////////////////////////////////////////////////////////////////////// + + /** + * @class NotImplementedException + * Thrown when a method or function has not been implemented, primarily used in development... you should + * not see these! + * @author Marcus Povey <marcus@dushka.co.uk> + */ + class NotImplementedException extends CallException {} + + /** + * @class InvalidParameterException + * A parameter is invalid. + * @author Marcus Povey <marcus@dushka.co.uk> + */ + class InvalidParameterException extends CallException {} ?>
\ No newline at end of file |