eZPublishCommunityProject  2013.9
eZ\Publish\Core\REST\Client\Input\Parser\ErrorMessage Class Reference

Parser for ErrorMessage. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Client\Input\Parser\ErrorMessage:
+ Collaboration diagram for eZ\Publish\Core\REST\Client\Input\Parser\ErrorMessage:

Public Member Functions

 parse (array $data, ParsingDispatcher $parsingDispatcher)
 Parse input structure. More...
 

Protected Attributes

 $errorCodeMapping
 

Detailed Description

Member Function Documentation

eZ\Publish\Core\REST\Client\Input\Parser\ErrorMessage::parse ( array  $data,
ParsingDispatcher  $parsingDispatcher 
)

Parse input structure.

Parameters
array$data
\eZ\Publish\Core\REST\Common\Input\ParsingDispatcher$parsingDispatcher
Exceptions
\Exception
Returns
void

Member Data Documentation

eZ\Publish\Core\REST\Client\Input\Parser\ErrorMessage::$errorCodeMapping
protected
Initial value:
= array(
403 => '\\eZ\\Publish\\Core\\REST\\Common\\Exceptions\\ForbiddenException',
404 => '\\eZ\\Publish\\Core\\REST\\Common\\Exceptions\\NotFoundException',
406 => '\\eZ\\Publish\\Core\\REST\\Client\\Exceptions\\InvalidArgumentException',
409 => '\\eZ\\Publish\\Core\\REST\\Client\\Exceptions\\BadStateException',
)

The documentation for this class was generated from the following file: