class ShardingException extends DBALException (View source)

Sharding related Exceptions

Methods

static DBALException
notSupported(string $method)

No description

static 
invalidPlatformSpecified()

No description

static 
invalidPlatformType(mixed $invalidPlatform)

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 = [])

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

notImplemented()

No description

activeTransaction()

No description

noShardDistributionValue()

No description

missingDistributionType()

No description

Details

static DBALException notSupported(string $method)

Parameters

string $method

Return Value

DBALException

static invalidPlatformSpecified()

static invalidPlatformType(mixed $invalidPlatform)

Parameters

mixed $invalidPlatform

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 = [])

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

static ShardingException notImplemented()

Return Value

ShardingException

static ShardingException missingDefaultFederationName()

Return Value

ShardingException

static ShardingException missingDefaultDistributionKey()

Return Value

ShardingException

static ShardingException activeTransaction()

Return Value

ShardingException

static ShardingException noShardDistributionValue()

Return Value

ShardingException

static ShardingException missingDistributionType()

Return Value

ShardingException