Package com.vaadin.hilla
Class EndpointInvocationException.EndpointBadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.hilla.EndpointInvocationException
com.vaadin.hilla.EndpointInvocationException.EndpointHttpException
com.vaadin.hilla.EndpointInvocationException.EndpointBadRequestException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- EndpointInvocationException
public static class EndpointInvocationException.EndpointBadRequestException
extends EndpointInvocationException.EndpointHttpException
Exception indicating a problem with the request data.
- 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
-
EndpointBadRequestException
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
-