public final class UnsupportedMessageException extends InteropException
Object does not support a interop message. If this exception is
thrown then the receiver does not support the message at all and it is not supported for any
arguments given to the message.| Modifier and Type | Method and Description |
|---|---|
static UnsupportedMessageException |
create()
Creates an
UnsupportedMessageException to indicate that an interop message is not
supported. |
static UnsupportedMessageException |
create(Throwable cause)
Creates an
UnsupportedMessageException to indicate that an interop message is not
supported. |
String |
getMessage() |
fillInStackTrace, getCauseaddSuppressed, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getMessage()
getMessage in class Throwablepublic static UnsupportedMessageException create()
UnsupportedMessageException to indicate that an interop message is not
supported.
This method is designed to be used in compiled code paths.
public static UnsupportedMessageException create(Throwable cause)
UnsupportedMessageException to indicate that an interop message is not
supported.
In addition a cause may be provided. The cause should only be set if the guest language code caused this problem. An example for this is a language specific proxy mechanism that invokes guest language code to describe an object. If the guest language code fails to execute and this interop exception is a valid interpretation of the error, then the error should be provided as cause.
cause - the guest language exception that caused the error.