/** * Class constructor. * * @param string The error message. * @param int The error code. */ public function __construct($message = null, $code = 0) { error_log("Autoload exception: " . $message); parent::__construct($message, $code); $this->setName('AutoloadException'); error_log($this->printStackTrace('')); }
/** * Class constructor. * * @param string The error message. * @param int The error code. */ public function __construct($message = null, $code = 0) { parent::__construct($message, $code); $this->setName('LoggingException'); }
/** * Class constructor. * * @param string The error message. * @param int The error code. */ public function __construct($message = null, $code = 0) { parent::__construct($message, $code); $this->setName('InitializationException'); }