/** * Class constructor. * Calls the parent Exception constructor. * @param string $formFieldName * @param null|\Exception $previousException */ public function __construct($formFieldName, \Exception $previousException = null) { parent::__construct(sprintf("The form field `%s` could not be found.", $formFieldName), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param string $version the invalid version * @param null|\Exception $previousException */ public function __construct($version, \Exception $previousException = null) { parent::__construct(sprintf("The version `%s` is not valid.", $version), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param integer $status the invalid status * @param null|\Exception $previousException */ public function __construct($status, \Exception $previousException = null) { parent::__construct(sprintf("The status `%d` is not valid.", $status), 0, $previousException); }
/** * Class constructor. * Calls the parent exception constructor. * @param string $fieldName * @param null|\Exception $previousException */ public function __construct($fieldName, \Exception $previousException = null) { parent::__construct(sprintf("The header field `%s` has not a mapping class.", $fieldName), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param string $uploadFilePath * @param string $targetFilePath * @param null|\Exception $previousException */ public function __construct($uploadFilePath, $targetFilePath, \Exception $previousException = null) { parent::__construct(sprintf("The form file `%s` could not be move to `%s`.", $uploadFilePath, $targetFilePath), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param string $method the invalid method * @param null|\Exception $previousException */ public function __construct($method, \Exception $previousException = null) { parent::__construct(sprintf("The http method `%s` is not valid.", $method), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param string $statusCode * @param null|\Exception $previousException */ public function __construct($statusCode, \Exception $previousException = null) { parent::__construct(sprintf("The status code `%s` does not allow message body content.", $statusCode), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param string $statusCode * @param null|\Exception $previousException */ public function __construct($statusCode, \Exception $previousException = null) { parent::__construct(sprintf("The status code `%s` does not have a phrase.", $statusCode), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param string $dependencyName the dependency missing * @param null|\Exception $previousException */ public function __construct($dependencyName, \Exception $previousException = null) { parent::__construct(sprintf("The dependency `%s` is required but not available.", $dependencyName), 0, $previousException); }
/** * Class constructor. * Calls the parent Exception constructor. * @param string $invalidCookieValue * @param null|\Exception $previousException */ public function __construct($invalidCookieValue, \Exception $previousException = null) { parent::__construct(sprintf("The cookie value `%s` contains invalid characters (comma, semicolon, whitespace).", $invalidCookieValue), 0, $previousException); }