Package com.vaadin.flow.server
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.flow.server.ServiceException
- All Implemented Interfaces:
Serializable
Thrown for problems which occur in the
VaadinService
layer.- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorDescriptionServiceException
(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
-