public class ValidatorException extends Exception
Constructor and Description |
---|
ValidatorException(String message,
Collection<Failure> failures)
Constructs a new exception with the specified detail message.
|
ValidatorException(String message,
Collection<Failure> failures,
Throwable cause)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
Collection<Failure> |
getFailures()
Get the collection of failures
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidatorException(String message, Collection<Failure> failures)
message
- The messagefailures
- collection of failurespublic ValidatorException(String message, Collection<Failure> failures, Throwable cause)
message
- The messagefailures
- collection of failurescause
- the cause to be chainedpublic Collection<Failure> getFailures()
Copyright © 2021 JBoss by Red Hat. All rights reserved.