Class Sugar_Exception

Description

Generic Sugar exception.

This is the base class for any exception thrown by Sugar. It is provided to make it easier to catch all Sugar errors.

Located in /Sugar/Exception.php (line 54)

Exception
   |
   --Sugar_Exception
Direct descendents
Class Description
Sugar_Exception_Parse Parse error.
Sugar_Exception_Runtime Runtime error.
Sugar_Exception_Usage Invocation error.
Method Summary
Sugar_Exception __construct (string $msg)
Variables

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$previous
$string
$trace
Methods
Constructor __construct (line 61)

Constructor.

  • access: public
Sugar_Exception __construct (string $msg)
  • string $msg: Error message.

Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] )

Redefined in descendants as:

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )

Documentation generated on Sat, 18 Sep 2010 05:27:01 +0000 by phpDocumentor 1.4.3