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.hilla.
Package com.vaadin.hilla
Class EndpointInvocationException.EndpointInternalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.hilla.EndpointInvocationException
com.vaadin.hilla.EndpointInvocationException.EndpointHttpException
com.vaadin.hilla.EndpointInvocationException.EndpointInternalException
All Implemented Interfaces:
Enclosing class:
public static class EndpointInvocationException.EndpointInternalException
extends EndpointInvocationException.EndpointHttpException
Exception indicating an unexpected server error occured during handling of the endpoint invocation.
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.hilla.EndpointInvocationException
EndpointInvocationException.EndpointAccessDeniedException, EndpointInvocationException.EndpointBadRequestException, EndpointInvocationException.EndpointForbiddenException, EndpointInvocationException.EndpointHttpException, EndpointInvocationException.EndpointInternalException, EndpointInvocationException.EndpointNotFoundException, EndpointInvocationException.EndpointUnauthorizedException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpStatus
Returns the HTTP status.
Methods inherited from class com.vaadin.hilla.EndpointInvocationException.EndpointHttpException
getHttpStatusCode
Methods inherited from class com.vaadin.hilla.EndpointInvocationException
getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EndpointInternalException
Creates a new instance.
Parameters:
message
- the message to pass to the client
-
-
Method Details
-
getHttpStatus
public org.springframework.http.HttpStatus getHttpStatus()Description copied from class:
EndpointInvocationException.EndpointHttpException
Returns the HTTP status. Only 4xx and 5xx statuses are allowed.
Specified by:
getHttpStatus
in classEndpointInvocationException.EndpointHttpException
Returns:
the HTTP status
-