Class PendingJavaScriptResult.JavaScriptException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.flow.component.page.PendingJavaScriptResult.JavaScriptException
All Implemented Interfaces:
Serializable
Enclosing interface:
PendingJavaScriptResult

public static class PendingJavaScriptResult.JavaScriptException extends RuntimeException
Exception used when a CompletableFuture returned from PendingJavaScriptResult is completed exceptionally because of a client-side error.
See Also:
  • Constructor Details

    • JavaScriptException

      public JavaScriptException(String message)
      Creates a new JavaScript exception with the given message.
      Parameters:
      message - the exception message, not null