Ejemplo n.º 1
0
 /**
  * @param string $message
  * @param int $id
  * @param int $code
  * @param Exception $previous
  */
 public function __construct($message, $id, $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->id = $id;
 }
Ejemplo n.º 2
0
 /**
  * @param string $method
  * @param string $message
  * @param int $code
  * @param \Exception $previous
  */
 public function __construct($method, $message = '', $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->method = $method;
 }
 /**
  * @param string $message
  * @param int $code
  * @param \Exception $previous
  */
 public function __construct($message = '', $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 /**
  * @param Model $entity
  * @param string $message
  * @param int $code
  * @param \Exception $previous
  */
 public function __construct(Model $entity, $message = '', $code = 0, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     $this->entity = $entity;
 }