Class JSWebAssemblyExceptionObject

All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSWebAssemblyExceptionObject extends JSNonProxyObject
  • Constructor Details

    • JSWebAssemblyExceptionObject

      protected JSWebAssemblyExceptionObject(com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto, com.oracle.truffle.api.exception.AbstractTruffleException wasmException, JSWebAssemblyTagObject type, Object[] payload)
  • Method Details

    • getWasmException

      public com.oracle.truffle.api.exception.AbstractTruffleException getWasmException()
    • type

      public JSWebAssemblyTagObject type()
    • payload

      public Object[] payload()
    • getStack

      public com.oracle.truffle.api.strings.TruffleString getStack()
    • setStack

      public void setStack(com.oracle.truffle.api.strings.TruffleString stack)
    • getClassName

      public com.oracle.truffle.api.strings.TruffleString getClassName()
      Description copied from class: JSDynamicObject
      The [[Class]] internal property. For ES5, this is the second part of what Object.prototype.toString.call(myObj) returns, e.g. "[object Array]".
      Overrides:
      getClassName in class JSNonProxyObject