public class TooManyMonitorsException extends MonitorException
Constructor and Description |
---|
TooManyMonitorsException(ExceptionSource source,
int max)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooManyMonitorsException(ExceptionSource source, int max)
source
- The ExceptionSource,max
- The maximum number of monitors that can be registered at the ExceptionSource.public int getMaxMonitorsAllowed()
public ExceptionSource getExceptionSource()
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.