Class VmException

    • Field Detail

      • hint

        protected @Nullable java.lang.String hint
    • Constructor Detail

      • VmException

        public VmException​(java.lang.String message,
                           @Nullable java.lang.Throwable cause,
                           boolean isExternalMessage,
                           java.lang.Object[] messageArguments,
                           java.util.List<VmException.ProgramValue> programValues,
                           @Nullable com.oracle.truffle.api.nodes.Node location,
                           @Nullable com.oracle.truffle.api.source.SourceSection sourceSection,
                           @Nullable java.lang.String memberName,
                           @Nullable java.lang.String hint)
    • Method Detail

      • isExternalMessage

        public final boolean isExternalMessage()
      • getMessageArguments

        public final java.lang.Object[] getMessageArguments()
      • getSourceSection

        public final @Nullable com.oracle.truffle.api.source.SourceSection getSourceSection()
      • getMemberName

        public final @Nullable java.lang.String getMemberName()
      • getHint

        public @Nullable java.lang.String getHint()
      • setHint

        public void setHint​(@Nullable java.lang.String hint)
      • getInsertedStackFrames

        public final java.util.Map<com.oracle.truffle.api.CallTarget,​StackFrame> getInsertedStackFrames()
        Stack frames to insert into the stack trace presented to the user. For each entry `(target, frame)`, `frame` will be inserted below the top-most frame associated with `target`.