Class 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
Author:
Jody Garnett (Refractions Research, Inc.)
See Also:
  • Constructor Details

  • Method Details

    • getDescriptor

      public AttributeDescriptor getDescriptor()
      AttribtueDescriptor being checked against.
      Returns:
      AttributeDescriptor being checked.
    • getValue

      public Object getValue()
      Attribute value that failed validation.
      Returns:
      Attribute value
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable