public class FieldLimitReachedException extends RuntimeException
Indicates that an attempt to add a field to a FieldManager
failed because the maximum number of fields have already been added to it.
Constructor and Description |
---|
FieldLimitReachedException(int fieldLimit)
Constructs the FieldLimitReachedException with the specified field
limit.
|
FieldLimitReachedException(int fieldLimit,
String message)
Constructs the FieldLimitReachedException with the specified field
limit and description.
|
Modifier and Type | Method and Description |
---|---|
int |
getFieldLimit()
Gets the maximum number of fields that are allowed by the
FieldManager.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public FieldLimitReachedException(int fieldLimit)
Constructs the FieldLimitReachedException with the specified field limit.
fieldLimit
- The maximum number of fields that are allowed by the
FieldManager.public FieldLimitReachedException(int fieldLimit, String message)
Constructs the FieldLimitReachedException with the specified field limit and description.
fieldLimit
- The maximum number of fields that are allowed by the
FieldManager.message
- A description of the exception.Please send bug reports and comments to Caplin support