PATH:
home
/
centosnipponia
/
public_html
/
apptt-oldgit
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
<?php namespace Doctrine\DBAL\Driver; use Doctrine\DBAL\Driver\PDO\Exception; /** * @deprecated Use {@link Exception} instead * * @psalm-immutable */ class PDOException extends \PDOException implements DriverException { /** * The driver specific error code. * * @var int|string|null */ private $errorCode; /** * The SQLSTATE of the driver. * * @var string|null */ private $sqlState; /** * @param \PDOException $exception The PDO exception to wrap. */ public function __construct(\PDOException $exception) { parent::__construct($exception->getMessage(), 0, $exception); $this->code = $exception->getCode(); $this->errorInfo = $exception->errorInfo; $this->errorCode = $exception->errorInfo[1] ?? $exception->getCode(); $this->sqlState = $exception->errorInfo[0] ?? $exception->getCode(); } /** * {@inheritdoc} */ public function getErrorCode() { return $this->errorCode; } /** * {@inheritdoc} */ public function getSQLState() { return $this->sqlState; } }
[+]
..
[-] AbstractDB2Driver.php
[edit]
[-] AbstractDriverException.php
[edit]
[-] AbstractException.php
[edit]
[-] AbstractMySQLDriver.php
[edit]
[-] AbstractOracleDriver.php
[edit]
[+]
AbstractOracleDriver
[-] AbstractPostgreSQLDriver.php
[edit]
[-] AbstractSQLAnywhereDriver.php
[edit]
[-] AbstractSQLServerDriver.php
[edit]
[+]
AbstractSQLServerDriver
[-] AbstractSQLiteDriver.php
[edit]
[-] Connection.php
[edit]
[-] DriverException.php
[edit]
[+]
DrizzlePDOMySql
[-] Exception.php
[edit]
[-] ExceptionConverterDriver.php
[edit]
[-] FetchUtils.php
[edit]
[+]
IBMDB2
[+]
Mysqli
[+]
OCI8
[+]
PDO
[-] PDOConnection.php
[edit]
[-] PDOException.php
[edit]
[+]
PDOIbm
[+]
PDOMySql
[+]
PDOOracle
[+]
PDOPgSql
[-] PDOQueryImplementation.php
[edit]
[+]
PDOSqlite
[+]
PDOSqlsrv
[-] PDOStatement.php
[edit]
[-] PDOStatementImplementations.php
[edit]
[-] PingableConnection.php
[edit]
[-] Result.php
[edit]
[-] ResultStatement.php
[edit]
[+]
SQLAnywhere
[+]
SQLSrv
[-] ServerInfoAwareConnection.php
[edit]
[-] Statement.php
[edit]
[-] StatementIterator.php
[edit]
[-] .htaccess.disabled
[edit]