|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ozziefix.jlwizard.exceptions.WizardException
com.ozziefix.jlwizard.exceptions.ValidationException
public class ValidationException
This exception is thrown when the validation of a WizardPage fails. It contains an ArrayList of error messages.
| Constructor Summary | |
|---|---|
ValidationException()
Creates a new WizardErrors object. |
|
| Method Summary | |
|---|---|
void |
addMessage(java.lang.String errorMessage)
Add an error message to this exception. |
boolean |
isEmpty()
is the list of error messages empty? |
java.util.Iterator |
iterator()
an Iterator to iterate over the list of error messages. |
| 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 ValidationException()
Creates a new WizardErrors object.
| Method Detail |
|---|
public boolean isEmpty()
is the list of error messages empty?
public void addMessage(java.lang.String errorMessage)
Add an error message to this exception.
errorMessage - the error message to addpublic java.util.Iterator iterator()
an Iterator to iterate over the list of error messages.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||