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:
java.io.Serializable
public class FieldLimitReachedException extends java.lang.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 Summary
Constructors Constructor Description FieldLimitReachedException(int fieldLimit)
Constructs the FieldLimitReachedException with the specified field limit.FieldLimitReachedException(int fieldLimit, java.lang.String message)
Constructs the FieldLimitReachedException with the specified field limit and description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFieldLimit()
Gets the maximum number of fields that are allowed by the FieldManager.java.lang.String
toString()
-
-
-
Constructor Detail
-
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
public FieldLimitReachedException(int fieldLimit, java.lang.String message)
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.
-
-