Package com.vaadin.flow.component.page
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
Exception used when a
CompletableFuture
returned from
PendingJavaScriptResult
is completed exceptionally because of a
client-side error.- See Also:
-
Constructor Summary
ConstructorDescriptionJavaScriptException
(String message) Creates a new JavaScript exception with the given message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JavaScriptException
Creates a new JavaScript exception with the given message.- Parameters:
message
- the exception message, notnull
-