This class provides exception for misc errors that may occur in the component, such as errors parsing database parameters and connecting to the database.
Source for this file: /Database/src/exceptions/exception.php
Exception | --ezcBaseException | --ezcDbException
Version: | //autogentag// |
Child Class | Description |
---|---|
ezcDbHandlerNotFoundException | This exceptions is used when a database handler could not be found. |
ezcDbMissingParameterException | This exception is thrown when a database handler misses a required parameter. |
ezcDbTransactionException | This class provides exception for misc errors that may occur in the component, such as errors parsing database parameters and connecting to the database. |
From ezcBaseException | |
---|---|
public |
ezcBaseException::$originalMessage
|
public void |
__construct(
$message
, $additionalInfo
)
Constructs an ezcDbAstractionException with the highlevel error message $message and the errorcode $code. |
From ezcBaseException | |
---|---|
public ezcBaseException |
ezcBaseException::__construct()
Constructs a new ezcBaseException with $message |
Constructs an ezcDbAstractionException with the highlevel error message $message and the errorcode $code.
Name | Type | Description |
---|---|---|
$message |
string | |
$additionalInfo |
string |
Method | Description |
---|---|
ezcBaseException::__construct() |
Constructs a new ezcBaseException with $message |
Method | Description |
---|---|
ezcDbHandlerNotFoundException::__construct() |
Constructs a new exception. |
ezcDbMissingParameterException::__construct() |
Constructs a new exception. |
ezcDbTransactionException::__construct() |
Constructs a new exception with the message $msg. |