* 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;
}
/**
* Localized error message object
- * @package MediaWiki
+ * @addtogroup Exception
*/
class WikiErrorMsg extends WikiError {
/**
}
/**
- * @package MediaWiki
* @todo document
+ * @addtogroup Exception
*/
class WikiXmlError extends WikiError {
/**
}
}
-?>
+