Class

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\BadRequestException

class BadRequestException extends Exception

BadRequestException value object visitor.

Methods

__construct(bool $debug = false, TranslatorInterface $translator = null)

Construct from debug flag.

from Exception
visit(Visitor $visitor, Generator $generator, Exception $data)

Visit struct returned by controllers.

from Exception

Details

in Exception at line 83
public __construct(bool $debug = false, TranslatorInterface $translator = null)

Construct from debug flag.

Parameters

bool $debug
TranslatorInterface $translator

in Exception at line 106
public visit(Visitor $visitor, Generator $generator, Exception $data)

Visit struct returned by controllers.

Parameters

Visitor $visitor
Generator $generator
Exception $data