Copied!

ReportValidationException

ReportValidationException.php : 17
Final
Implements Translatable

This exception is thrown if a service method is called with an illegal or non appropriate value.

Methods

public__construct()

ReportValidationException.php : 19
public __construct(ConstraintViolationListInterface $violations)

Parameters

Name Type Default value Description
$violations ConstraintViolationListInterface - -

publicgetTranslatableMessage()

ReportValidationException.php : 25

Returns a translatable Message.

public getTranslatableMessage() : Translation

Return values

Translation

publicgetViolations()

ReportValidationException.php : 32
public getViolations() : ConstraintViolationListInterface

Return values

ConstraintViolationListInterface