ApiPlatform\Core\Bridge\Symfony\Validator\Exception\ValidationException::__construct PHP Method

__construct() public method

public __construct ( Symfony\Component\Validator\ConstraintViolationListInterface $constraintViolationList, $message = '', $code, Exception $previous = null )
$constraintViolationList Symfony\Component\Validator\ConstraintViolationListInterface
$previous Exception
    public function __construct(ConstraintViolationListInterface $constraintViolationList, $message = '', $code = 0, \Exception $previous = null)
    {
        parent::__construct($message, $code, $previous);
        $this->constraintViolationList = $constraintViolationList;
    }