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
public static class PendingJavaScriptResult.JavaScriptException extends RuntimeException
Exception used when aCompletableFuture
returned fromPendingJavaScriptResult
is completed exceptionally because of a client-side error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaScriptException(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 Detail
-
JavaScriptException
public JavaScriptException(String message)
Creates a new JavaScript exception with the given message.- Parameters:
message
- the exception message, notnull
-
-