function __exceptionHandler (FrameworkException $e) {
// Call the app_die() method
ApplicationEntryPoint::app_die(sprintf("[Main:] The application <span class=\"app_name\">%s</span> (<span class=\"app_short_name\">%s</span>) has terminated due to an uncaught exception: <span class=\"exception_name\">%s</span> <span class=\"exception_number\">[%s]</span>: <span class=\"debug_exception\">%s</span> Backtrace: <div class=\"debug_backtrace\">%s</div>",
- ApplicationHelper::getInstance()->getAppName(),
- ApplicationHelper::getInstance()->getAppShortName(),
+ ApplicationHelper::getSelfInstance()->getAppName(),
+ ApplicationHelper::getSelfInstance()->getAppShortName(),
$e->__toString(),
$e->getHexCode(),
$e->getMessage(),