Object
Throwable
Exception
RuntimeException
IllegalStateException
MultiValuedPropertyException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionCreates an exception with no message.MultiValuedPropertyException
(String message) Creates an exception with the specified message.MultiValuedPropertyException
(String message, Throwable cause) Creates an exception with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MultiValuedPropertyException
public MultiValuedPropertyException()Creates an exception with no message. -
MultiValuedPropertyException
Creates an exception with the specified message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-
MultiValuedPropertyException
Creates an exception with the specified message and cause.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause, saved for later retrieval by theThrowable.getCause()
method.
-