protected function initializeExceptionHandler() { if ($this->debug) { return; } set_exception_handler($this->getExceptionHandler()); }