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 classException indicating access to the endpoint was denied.static classException indicating a problem with the request data.static classException indicating an unexpected server error occured during handling of the endpoint invocation.static classException 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:
getMessagein classThrowable- Returns:
- the error message or
nullif no error message was provided
-