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

Public Member Functions

 __construct ($message=null, $code=0)
 Constructor.
 
- Public Member Functions inherited from Zend_Db_Adapter_Exception
 __construct ($message= '', $code=0, Exception $e=null)
 
 hasChainedException ()
 
 getChainedException ()
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Exception
 _getPrevious ()
 Returns previous Exception.
 
- Protected Attributes inherited from Zend_Db_Adapter_Exception
 $_chainedException = null
 

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