public static function create($field, $message = "", $code = 0, \Exception $previous = null) { $exception = new self($message, $code, $previous); $exception->setField($field); return $exception; }