We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
Enclosing interface:
public static class PendingJavaScriptResult.JavaScriptException extends RuntimeException
Exception used when a
CompletableFuture
returned fromPendingJavaScriptResult
is completed exceptionally because of a client-side error.See Also:
-
-
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
-
-