class ParamNotConvertedException extends Exception (View source)

Provides an exception class for a request parameter that was not converted.

Properties

protected string $routeName

The route name that was not converted.

protected array $rawParameters

The raw parameters that were not converted.

Methods

__construct(string $message = "", int $code = 0, Exception $previous = NULL, string $route_name = "", array $raw_parameters = [])

Constructs the ParamNotConvertedException.

string
getRouteName()

Get the route name that was not converted.

array
getRawParameters()

Get the raw parameters that were not converted.

Details

__construct(string $message = "", int $code = 0, Exception $previous = NULL, string $route_name = "", array $raw_parameters = [])

Constructs the ParamNotConvertedException.

Parameters

string $message

The Exception message to throw.

int $code

The Exception code.

Exception $previous

The previous exception used for the exception chaining.

string $route_name

The route name that was not converted.

array $raw_parameters

The raw parameters that were not converted.

string getRouteName()

Get the route name that was not converted.

Return Value

string

The route name that was not converted.

array getRawParameters()

Get the raw parameters that were not converted.

Return Value

array

The raw parameters that were not converted.