summaryrefslogtreecommitdiff
path: root/includes/WikiError.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/WikiError.php')
-rw-r--r--includes/WikiError.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/includes/WikiError.php b/includes/WikiError.php
index 029184d4..064db61a 100644
--- a/includes/WikiError.php
+++ b/includes/WikiError.php
@@ -19,19 +19,18 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
- * @package MediaWiki
*/
/**
* Since PHP4 doesn't have exceptions, here's some error objects
* loosely modeled on the standard PEAR_Error model...
- * @package MediaWiki
+ * @addtogroup Exception
*/
class WikiError {
/**
* @param string $message
*/
- function WikiError( $message ) {
+ function __construct( $message ) {
$this->mMessage = $message;
}
@@ -66,7 +65,7 @@ class WikiError {
/**
* Localized error message object
- * @package MediaWiki
+ * @addtogroup Exception
*/
class WikiErrorMsg extends WikiError {
/**
@@ -81,8 +80,8 @@ class WikiErrorMsg extends WikiError {
}
/**
- * @package MediaWiki
* @todo document
+ * @addtogroup Exception
*/
class WikiXmlError extends WikiError {
/**