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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Db
- Subpackage
- Statement
- Version
- $Id$
\Zend_Db_Statement_Sqlsrv_Exception
Package: Zend_Db\Statement
Zend_Db_Statement_Exception
- Parent(s)
- \Zend_Db_Statement_Exception < \Zend_Db_Exception < \Zend_Exception < \Exception
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
__construct(null | array | string $message = null, null | int $code = 0) : void
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.
ParametersName | Type | Description |
---|---|---|
$message | null | array | string | |
$code | null | int |