class InvalidParseStringException extends Exception (View source)

The "Invalid Parse String" exception

It is thrown when concrete parser encounters a character sequence which cannot be parsed. This exception is only used internally.

Properties

protected string $referenceCode from  Exception
protected int $statusCode from  Exception

Methods

string
getReferenceCode()

Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.

int
getStatusCode()

Returns the HTTP status code this exception corresponds to (defaults to 500).

Details

string getReferenceCode()

Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.

Return Value

string

int getStatusCode()

Returns the HTTP status code this exception corresponds to (defaults to 500).

Return Value

int