Class FeatureOperationException

All Implemented Interfaces:
Serializable, LocalizedException

final class FeatureOperationException extends IllegalStateException implements LocalizedException
Thrown when a property value cannot be computed. This exception may occur during a call to AbstractAttribute.getValue() on an attribute instance which computes its value dynamically instead of returning a stored value. It may be for example the attributes produced by FeatureOperations.
Since:
1.1
Version:
1.1
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
    • message

      private final org.opengis.util.InternationalString message
      A description of the computation error.
  • Constructor Details

    • FeatureOperationException

      FeatureOperationException(org.opengis.util.InternationalString message)
      Creates a new exception with the given explanation message.
      Parameters:
      message - a description of the computation error.
    • FeatureOperationException

      FeatureOperationException(org.opengis.util.InternationalString message, Exception cause)
      Creates a new exception with the given explanation message and cause.
      Parameters:
      message - a description of the computation error.
      cause - the cause of the error.
  • Method Details

    • getInternationalMessage

      public org.opengis.util.InternationalString getInternationalMessage()
      Returns the message in various locales.
      Specified by:
      getInternationalMessage in interface LocalizedException
      Returns:
      the exception message.