Db/Statement/Sqlsrv/Exception.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Db
- Subpackage
- Statement
- Version
- $Id: Exception.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Db_Statement_Sqlsrv_Exception
Zend_Db_Statement_Exception
- Parent(s)
- \Zend_Db_Statement_Exception < \Zend_Db_Exception < \Zend_Exception < \Exception
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

null|\Exception $_previous = nullnullDetails- Type
- null | \Exception
- Inherited_from
- \Zend_Exception::$$_previous
- Inherited_from
- \Zend_Db_Exception::$$_previous
- Inherited_from
- \Zend_Db_Statement_Exception::$$_previous
Methods

__call(string $method, array $args) : mixedOverloading
Inherited from: \Zend_Exception::__call()\Zend_Db_Exception::__call()\Zend_Db_Statement_Exception::__call()For PHP < 5.3.0, provides access to the getPrevious() method.
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $args | array |
| Type | Description |
|---|---|
| mixed |

__construct(null | array | string $message = null, null | int $code = 0) : voidConstructor
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.
| Name | Type | Description |
|---|---|---|
| $message | null | array | string | |
| $code | null | int |

__toString() : stringString representation of the exception
Inherited from: \Zend_Exception::__toString()\Zend_Db_Exception::__toString()\Zend_Db_Statement_Exception::__toString()| Type | Description |
|---|---|
| string |

_getPrevious() : \Exception | nullReturns previous Exception
Inherited from: \Zend_Exception::_getPrevious()\Zend_Db_Exception::_getPrevious()\Zend_Db_Statement_Exception::_getPrevious()| Type | Description |
|---|---|
| \Exception | null |

getChainedException() : \Exception | null| Type | Description |
|---|---|
| \Exception | null |

getCode() : void
getFile() : void
getLine() : void
getMessage() : void
getPrevious() : void
getTrace() : void
getTraceAsString() : void
hasChainedException() : boolCheck if this general exception has a specific database driver specific exception nested inside.
Inherited from: \Zend_Db_Statement_Exception::hasChainedException()| Type | Description |
|---|---|
| bool |