function exception_handler in Coder 7
Same name and namespace in other branches
- 7.2 coder_upgrade/scripts/coder_upgrade.run.php \exception_handler()
1 string reference to 'exception_handler'
- coder_upgrade.run.php in coder_upgrade/
scripts/ coder_upgrade.run.php
File
- coder_upgrade/
scripts/ coder_upgrade.run.php, line 204
Code
function exception_handler($e) {
try {
// ... normal exception stuff goes here
} catch (Exception $e) {
print get_class($e) . " thrown within the exception handler. Message: " . $e
->getMessage() . " on line " . $e
->getLine();
}
}