Package com.vaadin.hilla
Class EndpointInvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.hilla.EndpointInvocationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EndpointInvocationException.EndpointAccessDeniedException
,EndpointInvocationException.EndpointBadRequestException
,EndpointInvocationException.EndpointInternalException
,EndpointInvocationException.EndpointNotFoundException
Exception thrown by EndpointInvoker when invocation fails.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception indicating access to the endpoint was denied.static class
Exception indicating a problem with the request data.static class
Exception indicating an unexpected server error occured during handling of the endpoint invocation.static class
Exception indicating the endpoint was not found. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the additional message that is passed to the client side.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EndpointInvocationException
Creates a new instance..- Parameters:
errorMessage
- an additional message passed to the client side
-
-
Method Details
-
getMessage
Returns the additional message that is passed to the client side.- Overrides:
getMessage
in classThrowable
- Returns:
- the error message or
null
if no error message was provided
-