/**
  * Constructor
  *
  * @param string|array $message The error message.
  * @param int          $code    The error code.
  */
 public function __construct($message, $code = 500)
 {
     if (is_array($message)) {
         $message += array('enabled' => true);
     }
     parent::__construct($message, $code);
 }
 public function __construct($message, $code = 404, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 public function __construct($message, $code = 404)
 {
     parent::__construct($message, $code);
 }