TableExistsException
class TableExistsException extends DatabaseObjectExistsException (View source)
Exception for an already existing table referenced in a statement detected in the driver.
Methods
static DBALException
invalidPlatformVersionSpecified(string $version, string $expectedFormat)
Returns a new instance for an invalid specified platform version.
from DBALException
static DBALException
unknownDriver(string $unknownDriverName, array $knownDrivers)
No description
from DBALException
static DBALException
driverExceptionDuringQuery(Driver $driver, Throwable $driverEx, $sql, array $params = [])
No description
from DBALException
static DBALException
from DBALException
static DBALException
noColumnsSpecifiedForTable(string $tableName)
No description
from DBALException
int|string|null
getErrorCode()
Returns the driver specific error code if given.
from DriverException
string|null
getSQLState()
Returns the SQLSTATE the driver was in at the time the error occurred, if given.
from DriverException
Details
in DBALException at line 30
static DBALException
notSupported(string $method)
in DBALException at line 35
static
invalidPlatformSpecified()
in DBALException at line 45
static
invalidPlatformType(mixed $invalidPlatform)
in DBALException at line 74
static DBALException
invalidPlatformVersionSpecified(string $version, string $expectedFormat)
Returns a new instance for an invalid specified platform version.
in DBALException at line 89
static DBALException
invalidPdoInstance()
in DBALException at line 102
static DBALException
driverRequired(string|null $url = null)
in DBALException at line 124
static DBALException
unknownDriver(string $unknownDriverName, array $knownDrivers)
in DBALException at line 137
static DBALException
driverExceptionDuringQuery(Driver $driver, Throwable $driverEx, $sql, array $params = [])
in DBALException at line 153
static DBALException
driverException(Driver $driver, Throwable $driverEx)
in DBALException at line 206
static DBALException
invalidWrapperClass(string $wrapperClass)
in DBALException at line 217
static DBALException
invalidDriverClass(string $driverClass)
in DBALException at line 227
static DBALException
invalidTableName(string $tableName)
in DBALException at line 237
static DBALException
noColumnsSpecifiedForTable(string $tableName)
in DBALException at line 245
static DBALException
limitOffsetInvalid()
in DBALException at line 255
static DBALException
typeExists(string $name)
in DBALException at line 265
static DBALException
unknownColumnType(string $name)
in DBALException at line 281
static DBALException
typeNotFound(string $name)
in DriverException at line 24
__construct(string $message, DriverException $driverException)
in DriverException at line 44
int|string|null
getErrorCode()
Returns the driver specific error code if given.
Returns null if no error code was given by the driver.
in DriverException at line 56
string|null
getSQLState()
Returns the SQLSTATE the driver was in at the time the error occurred, if given.
Returns null if no SQLSTATE was given by the driver.