org.opengis.feature
Class IllegalAttributeException
Object
Throwable
Exception
RuntimeException
IllegalArgumentException
IllegalAttributeException
- All Implemented Interfaces:
- Serializable
public class IllegalAttributeException
- extends IllegalArgumentException
Indicates a validation check has failed; the provided descriptor and value
are available via this exception.
- Since:
- GeoAPI 2.2
- See Also:
- Serialized Form
IllegalAttributeException
public IllegalAttributeException(AttributeDescriptor descriptor,
Object value)
IllegalAttributeException
public IllegalAttributeException(AttributeDescriptor descriptor,
Object value,
String message)
IllegalAttributeException
public IllegalAttributeException(AttributeDescriptor descriptor,
Object value,
String message,
Throwable t)
IllegalAttributeException
public IllegalAttributeException(AttributeDescriptor descriptor,
Object value,
Throwable t)
getDescriptor
public AttributeDescriptor getDescriptor()
- AttribtueDescriptor being checked against.
- Returns:
- AttributeDescriptor being checked.
getValue
public Object getValue()
- Attribute value that failed validaiton.
- Returns:
- Attribute value
toString
public String toString()
- Overrides:
toString in class Throwable
Copyright © 1994-2009 Open Geospatial Consortium. All Rights Reserved.