Class ThrownFromJavaScript

All Implemented Interfaces:
Serializable

public final class ThrownFromJavaScript extends RuntimeException
Represents the error value thrown in JavaScript.

Must not pass a Throwable instance, these should be thrown directly instead of being wrapped in a ThrownFromJavaScript.

See Also:
  • Constructor Details

    • ThrownFromJavaScript

      public ThrownFromJavaScript(Object thrownObject)
  • Method Details

    • getThrownObject

      public Object getThrownObject()