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.server.
Package com.vaadin.flow.server
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.flow.server.ServiceException
All Implemented Interfaces:
Thrown for problems which occur in the VaadinService
layer.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceException
(String message) Creates an exception which contains the given message.
ServiceException
(String message, Throwable throwable) Creates an exception which wraps the given throwable and contains the given message.
ServiceException
(Throwable throwable) Creates an exception which wraps the given throwable.
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceException
Creates an exception which wraps the given throwable.
Parameters:
throwable
- the throwable to wrap -
ServiceException
Creates an exception which contains the given message.
Parameters:
message
- the message -
ServiceException
Creates an exception which wraps the given throwable and contains the given message.
Parameters:
message
- the messagethrowable
- the throwable to wrap
-