Core/RestCalls/FaultHandler.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\FaultHandler

Package: Default
Handles the 3xx, 4xx and 5xx response status code in the response and handles them.

Properties

>VPropertyprivate\ServiceContext $context
The Service Context
Details
Type
\ServiceContext

Methods

methodpublicParseResponseAndThrowException( $webException,  $StatusCode,  $isIpp = FALSE) : \IdsException

Parses the Response and throws appropriate exceptions.

Parameters
NameTypeDescription
$webException
$StatusCode
$isIpp
Returns
TypeDescription
\IdsException
methodpublic__construct( $context) : void

Initializes a new instance of the FaultHandler class.

Parameters
NameTypeDescription
$context
Documentation was generated by phpDocumentor 2.8.5.