|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionSource
An interface for classes that supports ExceptionMonitors.
| Method Summary | |
|---|---|
List<ExceptionMonitor> |
getExceptionMonitors()
Returns all ExceptionMonitors that are registered. |
void |
registerExceptionMonitor(ExceptionMonitor monitor)
Register a ExceptionMonitor with the source. |
void |
unregisterExceptionMonitor(ExceptionMonitor monitor)
Unregister a ExceptionMonitor with the source. |
| Method Detail |
|---|
void registerExceptionMonitor(ExceptionMonitor monitor)
throws TooManyMonitorsException
monitor - The ExceptionMonitor to register.
TooManyMonitorsException - if the ExceptionSource is uncapable of handling any more registrations. If this
Exception is thrown the client should unregister the existing monitor and
replace it with a ExceptionMonitorRouter.void unregisterExceptionMonitor(ExceptionMonitor monitor)
monitor - The ExceptionMonitor to unregister.List<ExceptionMonitor> getExceptionMonitors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||