Class MachII_util_Exception

Description

Mach-II Exception

Provides a base class for Mach-II exceptions and a compatibility layer with PHP's built-in Exception class.

Located in /MachII/util/Exception.php (line 38)

Exception
   |
   --MachII_util_Exception
Direct descendents
Method Summary
MachII_util_Exception __construct ([mixed $message = ''], [mixed $code = MACHII_ERROR])
array getContext ()
string getDetail ()
integer getErrorCode ()
string getExtendedInfo ()
string getType ()
string _localizeErrorMessage ([integer $message = array()], [array $code = MACHII_ERROR])
Methods
getContext (line 147)
array getContext ()
getDetail (line 129)

Detail of the exception.

  • return: Exception::__toString()
string getDetail ()
getErrorCode (line 120)

The exception's error code.

integer getErrorCode ()
getExtendedInfo (line 138)

String representation of the backtrace.

  • return: Exception::getTraceAsString()
string getExtendedInfo ()
getType (line 111)

The exception class name.

  • return: __CLASS__
string getType ()
_localizeErrorMessage (line 59)

Retrieve the rendered error message from an error code and message or from an error object.

  • return: the complete error message
string _localizeErrorMessage ([integer $message = array()], [array $code = MACHII_ERROR])
  • integer $message: an error code
  • array $code: associative array of message replacement values

Documentation generated on Thu, 20 Jan 2005 10:47:32 -0800 by phpDocumentor 1.3.0RC3