public class UnsupportedException extends ConsumerContractException
Type
or requested operation is not supported.
The appropriate interoperability test should be used to verify the use of
any Type
to avoid this error.Constructor and Description |
---|
UnsupportedException(java.lang.String msg)
Constructs a
UnsupportedException with the specified
detail message. |
UnsupportedException(java.lang.String msg,
java.lang.Throwable t)
Constructs a
UnsupportedException with the specified
detail message and cause. |
UnsupportedException(java.lang.Throwable t)
Constructs a
UnsupportedException with the specified
cause and a detail message of
cause.toString() which typically contains the class and
detail message of cause . |
public UnsupportedException(java.lang.String msg)
UnsupportedException
with the specified
detail message. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messagepublic UnsupportedException(java.lang.String msg, java.lang.Throwable t)
UnsupportedException
with the specified
detail message and cause. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messaget
- the cause of the exceptionpublic UnsupportedException(java.lang.Throwable t)
UnsupportedException
with the specified
cause and a detail message of
cause.toString()
which typically contains the class and
detail message of cause
.t
- the cause of the exception