protected function transformValidationException(Exception $exception) { if ($exception instanceof ValidationException) { throw new ValidationFailedException($exception->validator); } }