static boolean isException(
Exception
$exception, [String
$classToCheck = 'CoreException']
)
|
|
Checks if the given Object is a Exception we can work with!
Parameters:
|
Exception |
$exception: |
the Exception to check |
|
String |
$classToCheck: |
Name of the Class to check |
API Tags:
| Return: | true if it is of correct Object type, otherwise false |
| Access: | public |
Display a Exception that was caused within the Administration.
Do NOT use this method outside the Administration environment.
Parameters:
API Tags:
Processes the Exception by including the desired Exception Template.
This is found by calling
new Layout('ERROR', 'error-' .
$exception->getCode())
.
Parameters:
|
CoreException |
$exception: |
the CoreException that should be processed |
API Tags:
This kind of Exception should only be used by the KERNEL.
Error messages that are thrown via this handler can NOT be customized for each Consumer!
Parameters:
|
CoreException |
$exception: |
the CoreException that should be processed |
API Tags: