aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/exceptions.php
diff options
context:
space:
mode:
authormisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 15:14:54 +0000
committermisja <misja@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-08 15:14:54 +0000
commitbf79a8fe8a332546f96f00edc424377f6200344e (patch)
tree276fc4403e69b6842cb7706600067161c7d117ec /engine/lib/exceptions.php
parent7a2ae99931f3ecbcfbdb740c96149e41212a2a31 (diff)
downloadelgg-bf79a8fe8a332546f96f00edc424377f6200344e.tar.gz
elgg-bf79a8fe8a332546f96f00edc424377f6200344e.tar.bz2
Misja Hoebe <misja@curverider.co.uk> More docstring fixes
git-svn-id: https://code.elgg.org/elgg/trunk@421 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/exceptions.php')
-rw-r--r--engine/lib/exceptions.php60
1 files changed, 48 insertions, 12 deletions
diff --git a/engine/lib/exceptions.php b/engine/lib/exceptions.php
index 000501196..e797f85bc 100644
--- a/engine/lib/exceptions.php
+++ b/engine/lib/exceptions.php
@@ -14,93 +14,129 @@
// Top level //////////////////////////////////////////////////////////////////////////////
/**
- * @class IOException
+ * IOException
* An IO Exception, throw when an IO Exception occurs. Subclass for specific IO Exceptions.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class IOException extends Exception {}
/**
- * @class ClassException
+ * ClassException
* A class Exception, throw when there is a class error.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class ClassException extends Exception {}
/**
- * @class ConfigurationException
+ * ConfigurationException
* There is a configuration error
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class ConfigurationException extends Exception {}
/**
- * @class SecurityException
+ * SecurityException
* An Security Exception, throw when a Security Exception occurs. Subclass for specific Security Execeptions (access problems etc)
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class SecurityException extends Exception {}
/**
- * @class ClassNotFoundException
+ * ClassNotFoundException
* An database exception, throw when a database exception happens, subclass if more detail is needed.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class DatabaseException extends Exception {}
/**
- * @class APIException
+ * APIException
* The API Exception class, thrown by the API layer when an API call has an issue.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class APIException extends Exception {}
/**
- * @class CallException
+ * CallException
* An exception thrown when there is a problem calling something.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class CallException extends Exception {}
// Class exceptions ///////////////////////////////////////////////////////////////////////
/**
- * @class InvalidClassException
+ * InvalidClassException
* An invalid class Exception, throw when a class is invalid.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class InvalidClassException extends ClassException {}
/**
- * @class ClassNotFoundException
+ * ClassNotFoundException
* An Class not found Exception, throw when an class can not be found occurs.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class ClassNotFoundException extends ClassException {}
// Configuration exceptions ///////////////////////////////////////////////////////////////
/**
- * @class InstallationException
+ * InstallationException
* Thrown when there is a major problem with the installation.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class InstallationException extends ConfigurationException {}
// Call exceptions ////////////////////////////////////////////////////////////////////////
/**
- * @class NotImplementedException
+ * 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>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class NotImplementedException extends CallException {}
/**
- * @class InvalidParameterException
+ * InvalidParameterException
* A parameter is invalid.
+ *
* @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
*/
class InvalidParameterException extends CallException {}
?> \ No newline at end of file