@Beta public class ValidationException extends RuntimeException
Constructor and Description |
---|
ValidationException(List<ValidationFailure> failures)
Creates a validation exception with list of failures.
|
Modifier and Type | Method and Description |
---|---|
List<ValidationFailure> |
getFailures()
Returns a list of validation failures.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationException(List<ValidationFailure> failures)
failures
- list of validation failurespublic List<ValidationFailure> getFailures()
Copyright © 2021 Cask Data, Inc. Licensed under the Apache License, Version 2.0.