public final class UnsupportedTypeException extends InteropException
Object does not support the type of one ore more
arguments.| Modifier and Type | Method and Description |
|---|---|
static UnsupportedTypeException |
create(Object[] suppliedValues)
Creates an
UnsupportedTypeException to indicate that an argument type is not
supported. |
static UnsupportedTypeException |
create(Object[] suppliedValues,
String hint)
Creates an
UnsupportedTypeException to indicate that an argument type is not
supported. |
static UnsupportedTypeException |
create(Object[] suppliedValues,
String hint,
Throwable cause)
Creates an
UnsupportedTypeException to indicate that an argument type is not
supported. |
Object[] |
getSuppliedValues()
Returns the arguments of the foreign object access that were not supported by the foreign
Object. |
fillInStackTrace, getCauseaddSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Object[] getSuppliedValues()
Object.public static UnsupportedTypeException create(Object[] suppliedValues)
UnsupportedTypeException to indicate that an argument type is not
supported.public static UnsupportedTypeException create(Object[] suppliedValues, String hint)
UnsupportedTypeException to indicate that an argument type is not
supported.public static UnsupportedTypeException create(Object[] suppliedValues, String hint, Throwable cause)
UnsupportedTypeException to indicate that an argument type 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.