Doctrine 1.2.4
Doctrine_Query_Tokenizer_Exception Class Reference

Inherits Doctrine_Exception.

Public Member Functions

 errorMessage ($value=null)
 

Detailed Description

Definition at line 33 of file Exception.php.

Member Function Documentation

Doctrine_Exception::errorMessage (   $value = null)
inherited

Return a textual error message for a Doctrine error code

Parameters
int|arrayinteger error code, null to get the current error code-message map, or an array with a new error code-message map
Returns
string error message

Definition at line 82 of file Exception.php.

{
if (is_null($value)) {
return self::$_errorMessages;
}
return isset(self::$_errorMessages[$value]) ?
self::$_errorMessages[$value] : self::$_errorMessages[Doctrine_Core::ERR];
}

The documentation for this class was generated from the following file: