UnexpectedResponseException

Extends DomainException Implements ClientExceptionInterface

Exception representing an unexpected response

since

1.2.0

package

Joomla Framework

Methods

__construct

Constructor

__construct(\Joomla\Http\Response response,  message = '',  code, \Exception previous = null) : 
since

1.2.0

Arguments

response

ResponseThe Response object.

message

stringThe Exception message to throw.

code

intThe Exception code.

previous

Exception|nullThe previous exception used for the exception chaining.

Response

mixed

getResponse

Get the Response object.

getResponse() : \Joomla\Http\Response
since

1.2.0

Response

Response

Properties

response

The Response object.

since

1.2.0

Type(s)

Response