|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExceptionHandler
Whenever a component doesn't want to throw every exception and declare them in their methods it is useful to give the exceptions to an exception handler. This handler can log or ignore the exception, or even throw a runtime exception or exit the program.
Some Programmer's Friend components are supporting this mechanism. They all pass their exceptions to an exception handler if one was set. Otherwise the they just swallow the exceptions. This interface must be implemented by every handler that's intended to be used with a PF component.
| Method Summary | |
|---|---|
void |
handleException(java.lang.Throwable throwable)
Handle the given exception in an apropriate way. |
| Method Detail |
|---|
void handleException(java.lang.Throwable throwable)
throwable - The exception that occured somewhere
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||