|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.swing.validation.ValidationExceptionHandler
public class ValidationExceptionHandler
An exception handler that allows messages to be redirected to a common log or console.
| Method Summary | |
|---|---|
int |
accumulateMessages(boolean accumulate,
int level)
informs the handler when page checking is starting or stopping. |
static ValidationExceptionHandler |
getInstance()
|
boolean |
handleEventHandlerException(Project project,
java.lang.Object container,
java.lang.Throwable error)
Handle an exception during the invocation of a page's event handler. |
boolean |
handleException(java.lang.Object c,
java.lang.Exception ex,
java.lang.Object checker)
A method called when an exeption has been trapped. |
void |
setErrorList(List errorList)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ValidationExceptionHandler getInstance()
public void setErrorList(List errorList)
public boolean handleException(java.lang.Object c,
java.lang.Exception ex,
java.lang.Object checker)
ExceptionHandler
handleException in interface ExceptionHandlerc - Component being validatedex - The exception causedchecker - The object being used to check validity and throw exceptions.
public int accumulateMessages(boolean accumulate,
int level)
ExceptionHandler
accumulateMessages in interface ExceptionHandleraccumulate - boolean to indicate whether the accumulation is started or stopped.level - int which indicates the most serious level of error encountered
public boolean handleEventHandlerException(Project project,
java.lang.Object container,
java.lang.Throwable error)
ExceptionHandler
handleEventHandlerException in interface ExceptionHandlerproject - the current projectcontainer - the pageerror - the exception or error that was thrown
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||