|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.acsinet_solutions.util.exception.SystemException
com.acsinet_solutions.util.exception.ValidationRuntimeException
public class ValidationRuntimeException
Runtime version of validation exception
| Constructor Summary | |
|---|---|
ValidationRuntimeException(java.util.List<ValidationIssue> issues)
Public constructor |
|
ValidationRuntimeException(java.lang.String key)
Public constructor |
|
ValidationRuntimeException(java.lang.String key,
java.lang.Object arg)
Public constructor |
|
ValidationRuntimeException(java.lang.String key,
java.lang.Object[] args)
Public constructor |
|
ValidationRuntimeException(java.lang.Throwable nested)
A validation exception that wraps another exception. |
|
| Method Summary | |
|---|---|
java.util.List<ValidationIssue> |
getIssues()
Get a list of the validation issues that raised this exception |
java.util.List<java.lang.String> |
getValidationMessages(MessageFactory factory)
Get the validation messages corresponding to the input issue list. |
void |
printIssues()
Useful debug method that prints the validation issues |
| 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 |
|---|
public ValidationRuntimeException(java.lang.String key)
issue - A not-null String instance that will be used as the key
for the only issue for this validation exception
public ValidationRuntimeException(java.lang.String key,
java.lang.Object arg)
issue - A not-null String instance that will be used as the key
for the only issue for this validation exception
public ValidationRuntimeException(java.lang.String key,
java.lang.Object[] args)
issue - A not-null String instance that will be used as the key
for the only issue for this validation exceptionpublic ValidationRuntimeException(java.util.List<ValidationIssue> issues)
issues - A not-null not-empty List of not-null ValidationIssue
instancespublic ValidationRuntimeException(java.lang.Throwable nested)
| Method Detail |
|---|
public final java.util.List<ValidationIssue> getIssues()
ValidationIssueHolder
getIssues in interface ValidationIssueHolderpublic final java.util.List<java.lang.String> getValidationMessages(MessageFactory factory)
ValidationIssueHolder
getValidationMessages in interface ValidationIssueHolderpublic final void printIssues()
ValidationIssueHolder
printIssues in interface ValidationIssueHolder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||