Exemplo n.º 1
0
 public function __construct($message, $source = null, $stackTrace = null)
 {
     parent::__construct(self::NOTFOUND, $message, $source, $stackTrace);
 }
Exemplo n.º 2
0
 public function __construct($message, $source = null, $stackTrace = null)
 {
     parent::__construct(self::UNAUTHORIZED, $message, $source, $stackTrace);
 }
Exemplo n.º 3
0
 public function __construct($code, $field, $msg, $type, $source = null, $stackTrace = null)
 {
     $this->field = $field;
     $this->type = $type;
     parent::__construct($code, $msg, $source, $stackTrace);
 }