|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.sca4j.host.SCA4JException
org.sca4j.host.contribution.ContributionException
org.sca4j.host.contribution.ValidationException
public abstract class ValidationException
Base class for exceptions indicating a contribution has failed validation.
| Constructor Summary | |
|---|---|
protected |
ValidationException(java.util.List<ValidationFailure<?>> errors,
java.util.List<ValidationFailure<?>> warnings)
Constructor that initializes the initial list of errors and warnings. |
| Method Summary | |
|---|---|
java.util.List<ValidationFailure<?>> |
getErrors()
Returns a collection of underlying errors associated with this exception. |
java.util.List<ValidationFailure<?>> |
getWarnings()
Returns a collection of underlying warnings associated with this exception. |
| Methods inherited from class org.sca4j.host.SCA4JException |
|---|
getIdentifier, printStackTraceElements |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ValidationException(java.util.List<ValidationFailure<?>> errors,
java.util.List<ValidationFailure<?>> warnings)
errors - the list of errorswarnings - the list of warnings| Method Detail |
|---|
public java.util.List<ValidationFailure<?>> getErrors()
public java.util.List<ValidationFailure<?>> getWarnings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||