class ConversionException extends DBALException (View source)

Methods

static 
notSupported($method)

No description

static 
invalidPlatformSpecified()

No description

static 
invalidPdoInstance()

No description

static 
driverRequired()

No description

static 
unknownDriver($unknownDriverName, array $knownDrivers)

No description

static 
driverExceptionDuringQuery(Exception $driverEx, $sql, array $params = array())

No description

static 
invalidWrapperClass($wrapperClass)

No description

static 
invalidDriverClass($driverClass)

No description

static DBALException
invalidTableName(string $tableName)

No description

static DBALException
noColumnsSpecifiedForTable(string $tableName)

No description

static 
limitOffsetInvalid()

No description

static 
typeExists($name)

No description

static 
unknownColumnType($name)

No description

static 
typeNotFound($name)

No description

conversionFailed(string $value, string $toType)

Thrown when a Database to Doctrine Type Conversion fails.

conversionFailedFormat($value, $toType, $expectedFormat)

Thrown when a Database to Doctrine Type Conversion fails and we can make a statement about the expected format.

Details

static notSupported($method)

Parameters

$method

static invalidPlatformSpecified()

static invalidPdoInstance()

static driverRequired()

static unknownDriver($unknownDriverName, array $knownDrivers)

Parameters

$unknownDriverName
array $knownDrivers

static driverExceptionDuringQuery(Exception $driverEx, $sql, array $params = array())

Parameters

Exception $driverEx
$sql
array $params

static invalidWrapperClass($wrapperClass)

Parameters

$wrapperClass

static invalidDriverClass($driverClass)

Parameters

$driverClass

static DBALException invalidTableName(string $tableName)

Parameters

string $tableName

Return Value

DBALException

static DBALException noColumnsSpecifiedForTable(string $tableName)

Parameters

string $tableName

Return Value

DBALException

static limitOffsetInvalid()

static typeExists($name)

Parameters

$name

static unknownColumnType($name)

Parameters

$name

static typeNotFound($name)

Parameters

$name

static ConversionException conversionFailed(string $value, string $toType)

Thrown when a Database to Doctrine Type Conversion fails.

Parameters

string $value
string $toType

Return Value

ConversionException

static ConversionException conversionFailedFormat($value, $toType, $expectedFormat)

Thrown when a Database to Doctrine Type Conversion fails and we can make a statement about the expected format.

Parameters

$value
$toType
$expectedFormat

Return Value

ConversionException