Package com.caplin.datasrc.fields
Class FieldLimitReachedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.caplin.datasrc.fields.FieldLimitReachedException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionFieldLimitReachedException
(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. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the maximum number of fields that are allowed by the FieldManager.toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
FieldLimitReachedException
public FieldLimitReachedException(int fieldLimit) Constructs the FieldLimitReachedException with the specified field limit.
- Parameters:
fieldLimit
- The maximum number of fields that are allowed by the FieldManager.
-
FieldLimitReachedException
Constructs the FieldLimitReachedException with the specified field limit and description.
- Parameters:
fieldLimit
- The maximum number of fields that are allowed by the FieldManager.message
- A description of the exception.
-
-
Method Details