Top Description Inners Fields Constructors Methods
org.graalvm.polyglot.impl

pack-priv final Class UnnamedToModuleExceptionDispatchGen

extends UnnamedToModuleExceptionDispatch
Class Inheritance
Imports
java.io.PrintStream, .PrintWriter, java.lang.invoke.MethodHandle, .MethodHandles.Lookup, .MethodType, java.util.List, .Objects, org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch, .UnnamedToModuleBridge.UnnamedToModuleExceptionDispatch

Generated code used for Truffle unnamed to named module bridge. This code allows polyglot on the classpath to delegate to polyglot on the module-path. This code is generated by the polyglot annotation processor.asdf

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final UnnamedToModuleExceptionDispatchGen.Handles
pack-priv final Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Throwable
public int
public Object
public String
public Iterable<Object>
public Object
public StackTraceElement[]
private static <T extends Throwable> RuntimeException
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public void
public void
public void
Inherited from org.graalvm.polyglot.impl.UnnamedToModuleBridge.UnnamedToModuleExceptionDispatch:
methodHandleLookup

Field Detail

HANDLESback to summary
private static final UnnamedToModuleExceptionDispatchGen.Handles HANDLES
receiverback to summary
pack-priv final Object receiver

Constructor Detail

UnnamedToModuleExceptionDispatchGenback to summary
public UnnamedToModuleExceptionDispatchGen(Object receiver)

Method Detail

asHostExceptionback to summary
public Throwable asHostException(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.asHostException.

Annotations
@Override
getExitStatusback to summary
public int getExitStatus(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.getExitStatus.

Annotations
@Override
getGuestObjectback to summary
public Object getGuestObject(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.getGuestObject.

Annotations
@Override
getMessageback to summary
public String getMessage(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.getMessage.

Annotations
@Override
getPolyglotStackTraceback to summary
public Iterable<Object> getPolyglotStackTrace(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.getPolyglotStackTrace.

Annotations
@Override
getSourceLocationback to summary
public Object getSourceLocation(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.getSourceLocation.

Annotations
@Override
getStackTraceback to summary
public StackTraceElement[] getStackTrace(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.getStackTrace.

Annotations
@Override
handleException_back to summary
private static <T extends Throwable> RuntimeException handleException_(Throwable t) throws Throwable-:T
Annotations
@SuppressWarnings:unchecked
isCancelledback to summary
public boolean isCancelled(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isCancelled.

Annotations
@Override
isExitback to summary
public boolean isExit(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isExit.

Annotations
@Override
isHostExceptionback to summary
public boolean isHostException(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isHostException.

Annotations
@Override
isIncompleteSourceback to summary
public boolean isIncompleteSource(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isIncompleteSource.

Annotations
@Override
isInternalErrorback to summary
public boolean isInternalError(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isInternalError.

Annotations
@Override
isInterruptedback to summary
public boolean isInterrupted(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isInterrupted.

Annotations
@Override
isResourceExhaustedback to summary
public boolean isResourceExhausted(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isResourceExhausted.

Annotations
@Override
isSyntaxErrorback to summary
public boolean isSyntaxError(Object receiver_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.isSyntaxError.

Annotations
@Override
onCreateback to summary
public void onCreate(Object receiver_, RuntimeException polyglotException_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.onCreate.

Annotations
@Override
printStackTraceback to summary
public void printStackTrace(Object receiver_, PrintStream s_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.printStackTrace.

Annotations
@Override
printStackTraceback to summary
public void printStackTrace(Object receiver_, PrintWriter s_)

Implements abstract org.graalvm.polyglot.impl.AbstractPolyglotImpl.AbstractExceptionDispatch.printStackTrace.

Annotations
@Override
org.graalvm.polyglot.impl back to summary

pack-priv final Class UnnamedToModuleExceptionDispatchGen.Handles

extends Object
Class Inheritance
  • java.lang.Object
  • org.graalvm.polyglot.impl.UnnamedToModuleExceptionDispatchGen.Handles

Field Summary

Modifier and TypeField and Description
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle
private final MethodHandle

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

asHostException_back to summary
private final MethodHandle asHostException_
getExitStatus_back to summary
private final MethodHandle getExitStatus_
getGuestObject_back to summary
private final MethodHandle getGuestObject_
getMessage_back to summary
private final MethodHandle getMessage_
getPolyglotStackTrace_back to summary
private final MethodHandle getPolyglotStackTrace_
getSourceLocation_back to summary
private final MethodHandle getSourceLocation_
getStackTrace_back to summary
private final MethodHandle getStackTrace_
isCancelled_back to summary
private final MethodHandle isCancelled_
isExit_back to summary
private final MethodHandle isExit_
isHostException_back to summary
private final MethodHandle isHostException_
isIncompleteSource_back to summary
private final MethodHandle isIncompleteSource_
isInternalError_back to summary
private final MethodHandle isInternalError_
isInterrupted_back to summary
private final MethodHandle isInterrupted_
isResourceExhausted_back to summary
private final MethodHandle isResourceExhausted_
isSyntaxError_back to summary
private final MethodHandle isSyntaxError_
onCreate_back to summary
private final MethodHandle onCreate_
printStackTrace1_back to summary
private final MethodHandle printStackTrace1_
printStackTrace_back to summary
private final MethodHandle printStackTrace_

Constructor Detail

Handlesback to summary
pack-priv Handles(MethodHandles.Lookup lookup) throws ReflectiveOperationException