Class UnsupportedException

All Implemented Interfaces:
Serializable

public class UnsupportedException extends ConsumerContractException
The given 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.
See Also:
  • Constructor Details

    • UnsupportedException

      public UnsupportedException(String msg)
      Constructs a UnsupportedException with the specified detail message. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
    • UnsupportedException

      public UnsupportedException(String msg, Throwable t)
      Constructs a UnsupportedException with the specified detail message and cause. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
      t - the cause of the exception
    • UnsupportedException

      public UnsupportedException(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.
      Parameters:
      t - the cause of the exception