Zend Framework  1.12
Public Member Functions | Protected Member Functions | List of all members
Zend_Exception Class Reference

Public Member Functions

 __construct ($msg= '', $code=0, Exception $previous=null)
 Construct the exception.
 
 __call ($method, array $args)
 Overloading.
 
 __toString ()
 String representation of the exception.
 

Protected Member Functions

 _getPrevious ()
 Returns previous Exception.
 

Constructor & Destructor Documentation

__construct (   $msg = '',
  $code = 0,
Exception  $previous = null 
)

Construct the exception.

Parameters
string$msg
int$code
Exception$previous
Returns
void

Member Function Documentation

__call (   $method,
array  $args 
)

Overloading.

For PHP < 5.3.0, provides access to the getPrevious() method.

Parameters
string$method
array$args
Returns
mixed
__toString ( )

String representation of the exception.

Returns
string
_getPrevious ( )
protected

Returns previous Exception.

Returns
Exception|null