public interface ExceptionSource
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.