Class MultiValuedPropertyException

All Implemented Interfaces:
Serializable

public class MultiValuedPropertyException extends IllegalStateException
Thrown when Attribute.getValue() or FeatureAssociation.getValue() is invoked on a property containing more than one value.

Callers can avoid this exception by invoking the getValues() method instead than getValue().

Since:
3.1
See Also:
  • Constructor Details

    • MultiValuedPropertyException

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

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

      public MultiValuedPropertyException(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.