Package org.geotools.api.feature
Class IllegalAttributeException
Object
Throwable
Exception
RuntimeException
IllegalArgumentException
IllegalAttributeException
- All Implemented Interfaces:
Serializable
Indicates a validation check has failed; the provided descriptor and value are available via this exception.
- Since:
- GeoAPI 2.2
- Author:
- Jody Garnett (Refractions Research, Inc.)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIllegalAttributeException
(String message) IllegalAttributeException
(AttributeDescriptor descriptor, Object value) IllegalAttributeException
(AttributeDescriptor descriptor, Object value, String message) IllegalAttributeException
(AttributeDescriptor descriptor, Object value, String message, Throwable t) IllegalAttributeException
(AttributeDescriptor descriptor, Object value, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionAttribtueDescriptor being checked against.getValue()
Attribute value that failed validation.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalAttributeException
-
IllegalAttributeException
-
IllegalAttributeException
-
IllegalAttributeException
public IllegalAttributeException(AttributeDescriptor descriptor, Object value, String message, Throwable t) -
IllegalAttributeException
-
-
Method Details
-
getDescriptor
AttribtueDescriptor being checked against.- Returns:
- AttributeDescriptor being checked.
-
getValue
Attribute value that failed validation.- Returns:
- Attribute value
-
getMessage
- Overrides:
getMessage
in classThrowable
-