예제 #1
0
 /**
  * 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(''));
 }
예제 #2
0
 /**
  * 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');
 }
예제 #3
0
 /**
  * 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');
 }