/**
  * @param string          $message
  * @param mixed|null      $definition
  * @param int             $code
  * @param \Exception|null $previous
  */
 public function __construct($message, $definition = null, $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->definition;
 }
Example #2
0
 /**
  * @param \UniMapper\Validator $validator
  * @param string               $message
  * @param int                  $code
  * @param \Exception|null      $previous
  */
 public function __construct(\UniMapper\Validator $validator, $message = "", $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->validator = $validator;
 }
Example #3
0
 /**
  * @param string          $message
  * @param int             $query
  * @param int             $code
  * @param \Exception|null $previous
  */
 public function __construct($message, $query, $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->query = $query;
 }
 /**
  * @param string     $message
  * @param mixed      $value
  * @param int        $code
  * @param \Exception $previous
  */
 public function __construct($message, $value = null, $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->value = $value;
 }