public final class UnsupportedTypeException extends InteropException
TruffleObject 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. |
Object[] |
getSuppliedValues()
Returns the arguments of the foreign object access that were not supported by the
TruffleObject. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Object[] getSuppliedValues()
TruffleObject.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.