class DBALException extends Exception (View source)

Methods

static DBALException
notSupported(string $method)

No description

static DBALException
invalidPlatformSpecified()

No description

static DBALException
invalidPlatformVersionSpecified(string $version, string $expectedFormat)

Returns a new instance for an invalid specified platform version.

static DBALException
invalidPdoInstance()

No description

static DBALException
driverRequired(string|null $url = null)

No description

static DBALException
unknownDriver(string $unknownDriverName, array $knownDrivers)

No description

static DBALException
driverExceptionDuringQuery(Driver $driver, Exception $driverEx, string $sql, array $params = array())

No description

static DBALException
driverException(Driver $driver, Exception $driverEx)

No description

static DBALException
invalidWrapperClass(string $wrapperClass)

No description

static DBALException
invalidDriverClass(string $driverClass)

No description

static DBALException
invalidTableName(string $tableName)

No description

static DBALException
noColumnsSpecifiedForTable(string $tableName)

No description

static DBALException
limitOffsetInvalid()

No description

static DBALException
typeExists(string $name)

No description

static DBALException
unknownColumnType(string $name)

No description

static DBALException
typeNotFound(string $name)

No description

Details

static DBALException notSupported(string $method)

Parameters

string $method

Return Value

DBALException

static DBALException invalidPlatformSpecified()

Return Value

DBALException

static DBALException invalidPlatformVersionSpecified(string $version, string $expectedFormat)

Returns a new instance for an invalid specified platform version.

Parameters

string $version The invalid platform version given.
string $expectedFormat The expected platform version format.

Return Value

DBALException

static DBALException invalidPdoInstance()

Return Value

DBALException

static DBALException driverRequired(string|null $url = null)

Parameters

string|null $url The URL that was provided in the connection parameters (if any).

Return Value

DBALException

static DBALException unknownDriver(string $unknownDriverName, array $knownDrivers)

Parameters

string $unknownDriverName
array $knownDrivers

Return Value

DBALException

static DBALException driverExceptionDuringQuery(Driver $driver, Exception $driverEx, string $sql, array $params = array())

Parameters

Driver $driver
Exception $driverEx
string $sql
array $params

Return Value

DBALException

static DBALException driverException(Driver $driver, Exception $driverEx)

Parameters

Driver $driver
Exception $driverEx

Return Value

DBALException

static DBALException invalidWrapperClass(string $wrapperClass)

Parameters

string $wrapperClass

Return Value

DBALException

static DBALException invalidDriverClass(string $driverClass)

Parameters

string $driverClass

Return Value

DBALException

static DBALException invalidTableName(string $tableName)

Parameters

string $tableName

Return Value

DBALException

static DBALException noColumnsSpecifiedForTable(string $tableName)

Parameters

string $tableName

Return Value

DBALException

static DBALException limitOffsetInvalid()

Return Value

DBALException

static DBALException typeExists(string $name)

Parameters

string $name

Return Value

DBALException

static DBALException unknownColumnType(string $name)

Parameters

string $name

Return Value

DBALException

static DBALException typeNotFound(string $name)

Parameters

string $name

Return Value

DBALException