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

Public Member Functions

 __construct ($message=null, $code=0)
 Constructor.
 
- Public Member Functions inherited from Zend_Db_Statement_Exception
 hasChainedException ()
 Check if this general exception has a specific database driver specific exception nested inside.
 
 getChainedException ()
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Exception
 _getPrevious ()
 Returns previous Exception.
 

Constructor & Destructor Documentation

__construct (   $message = null,
  $code = 0 
)

Constructor.

If $message is an array, the assumption is that the return value of sqlsrv_errors() was provided. If so, it then retrieves the most recent error from that stack, and sets the message and code based on it.

Parameters
null | array | string$message
null | int$code