|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ops4j.monitors.MonitorException
org.ops4j.monitors.TooManyMonitorsException
public class TooManyMonitorsException
This Exception is thrown when the MonitorSource can not register any more Monitors.
Constructor Summary | |
---|---|
TooManyMonitorsException(ExceptionSource source,
int max)
Constructor |
Method Summary | |
---|---|
ExceptionSource |
getExceptionSource()
Returns the ExceptionSource that can't deal with too many ExceptionMonitors. |
int |
getMaxMonitorsAllowed()
Returns he maximum number of monitors that can be registered at the ExceptionSource. |
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 TooManyMonitorsException(ExceptionSource source, int max)
source
- The ExceptionSource,max
- The maximum number of monitors that can be registered at the ExceptionSource.Method Detail |
---|
public int getMaxMonitorsAllowed()
public ExceptionSource getExceptionSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |