public final class UnknownIdentifierException extends InteropException
TruffleObject
that is not accessible.| Modifier and Type | Method and Description |
|---|---|
String |
getUnknownIdentifier()
Returns the identifier that could not be accessed.
|
static RuntimeException |
raise(String unknownIdentifier)
Raises an
UnknownIdentifierException, hidden as a RuntimeException, which
allows throwing it without an explicit throws declaration. |
raiseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getUnknownIdentifier()
public static RuntimeException raise(String unknownIdentifier)
UnknownIdentifierException, hidden as a RuntimeException, which
allows throwing it without an explicit throws declaration. The ForeignAccess methods
(e.g. ForeignAccess.sendRead ) catch the exceptions and re-throw them as
checked exceptions.unknownIdentifier - the identifier that could not be accessed