Class MismatchedFeatureException

  • All Implemented Interfaces:
    Serializable

    public class MismatchedFeatureException
    extends IllegalArgumentException
    Indicates that an operation cannot be completed properly because of a mismatch in the attribute or feature type of operands.
    Example: a process copying the property values from one feature to another feature may fail because a property of the source feature is not found in the target feature.
    Since:
    3.1
    See Also:
    Serialized Form
    • Constructor Detail

      • MismatchedFeatureException

        public MismatchedFeatureException()
        Creates an exception with no message.
      • MismatchedFeatureException

        public MismatchedFeatureException​(String message)
        Creates an exception with the specified message.
        Parameters:
        message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
      • MismatchedFeatureException

        public MismatchedFeatureException​(String message,
                                          Throwable cause)
        Creates an exception with the specified message and cause.
        Parameters:
        message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
        cause - the cause, saved for later retrieval by the Throwable.getCause() method.