PHP Class Doctrine\DBAL\DBALException

Inheritance: extends Exception
Afficher le fichier Open project: doctrine/dbal Class Usage Examples

Méthodes publiques

Méthode Description
driverException ( Doctrine\DBAL\Driver $driver, Exception $driverEx ) : DBALException
driverExceptionDuringQuery ( Doctrine\DBAL\Driver $driver, Exception $driverEx, string $sql, array $params = [] ) : DBALException
driverRequired ( string | null $url = null ) : DBALException
invalidDriverClass ( string $driverClass ) : DBALException
invalidPdoInstance ( ) : DBALException
invalidPlatformSpecified ( ) : DBALException
invalidPlatformVersionSpecified ( string $version, string $expectedFormat ) : DBALException Returns a new instance for an invalid specified platform version.
invalidTableName ( string $tableName ) : DBALException
invalidWrapperClass ( string $wrapperClass ) : DBALException
limitOffsetInvalid ( ) : DBALException
noColumnsSpecifiedForTable ( string $tableName ) : DBALException
notSupported ( string $method ) : DBALException
typeExists ( string $name ) : DBALException
typeNotFound ( string $name ) : DBALException
unknownColumnType ( string $name ) : DBALException
unknownDriver ( string $unknownDriverName, array $knownDrivers ) : DBALException

Private Methods

Méthode Description
formatParameters ( array $params ) : string Returns a human-readable representation of an array of parameters.
wrapException ( Doctrine\DBAL\Driver $driver, Exception $driverEx, $msg ) : DBALException

Method Details

driverException() public static méthode

public static driverException ( Doctrine\DBAL\Driver $driver, Exception $driverEx ) : DBALException
$driver Doctrine\DBAL\Driver
$driverEx Exception
Résultat DBALException

driverExceptionDuringQuery() public static méthode

public static driverExceptionDuringQuery ( Doctrine\DBAL\Driver $driver, Exception $driverEx, string $sql, array $params = [] ) : DBALException
$driver Doctrine\DBAL\Driver
$driverEx Exception
$sql string
$params array
Résultat DBALException

driverRequired() public static méthode

public static driverRequired ( string | null $url = null ) : DBALException
$url string | null The URL that was provided in the connection parameters (if any).
Résultat DBALException

invalidDriverClass() public static méthode

public static invalidDriverClass ( string $driverClass ) : DBALException
$driverClass string
Résultat DBALException

invalidPdoInstance() public static méthode

public static invalidPdoInstance ( ) : DBALException
Résultat DBALException

invalidPlatformSpecified() public static méthode

public static invalidPlatformSpecified ( ) : DBALException
Résultat DBALException

invalidPlatformVersionSpecified() public static méthode

Returns a new instance for an invalid specified platform version.
public static invalidPlatformVersionSpecified ( string $version, string $expectedFormat ) : DBALException
$version string The invalid platform version given.
$expectedFormat string The expected platform version format.
Résultat DBALException

invalidTableName() public static méthode

public static invalidTableName ( string $tableName ) : DBALException
$tableName string
Résultat DBALException

invalidWrapperClass() public static méthode

public static invalidWrapperClass ( string $wrapperClass ) : DBALException
$wrapperClass string
Résultat DBALException

limitOffsetInvalid() public static méthode

public static limitOffsetInvalid ( ) : DBALException
Résultat DBALException

noColumnsSpecifiedForTable() public static méthode

public static noColumnsSpecifiedForTable ( string $tableName ) : DBALException
$tableName string
Résultat DBALException

notSupported() public static méthode

public static notSupported ( string $method ) : DBALException
$method string
Résultat DBALException

typeExists() public static méthode

public static typeExists ( string $name ) : DBALException
$name string
Résultat DBALException

typeNotFound() public static méthode

public static typeNotFound ( string $name ) : DBALException
$name string
Résultat DBALException

unknownColumnType() public static méthode

public static unknownColumnType ( string $name ) : DBALException
$name string
Résultat DBALException

unknownDriver() public static méthode

public static unknownDriver ( string $unknownDriverName, array $knownDrivers ) : DBALException
$unknownDriverName string
$knownDrivers array
Résultat DBALException