Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.client.RestClientException
org.springframework.web.client.RestClientResponseException
org.springframework.web.client.HttpStatusCodeException
org.springframework.web.client.HttpServerErrorException
org.odpi.openmetadata.userinterface.uichassis.springboot.api.exceptions.BadRequestException
- All Implemented Interfaces:
Serializable
@ResponseStatus(BAD_REQUEST)
public class BadRequestException
extends org.springframework.web.client.HttpServerErrorException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.web.client.HttpServerErrorException
org.springframework.web.client.HttpServerErrorException.BadGateway, org.springframework.web.client.HttpServerErrorException.GatewayTimeout, org.springframework.web.client.HttpServerErrorException.InternalServerError, org.springframework.web.client.HttpServerErrorException.NotImplemented, org.springframework.web.client.HttpServerErrorException.ServiceUnavailable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.web.client.HttpServerErrorException
create, create
Methods inherited from class org.springframework.web.client.RestClientResponseException
getRawStatusCode, getResponseBodyAs, getResponseBodyAs, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusCode, getStatusText, setBodyConvertFunction
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadRequestException
- Parameters:
errorCode
- the error ui error code associated with the exceptionmessage
- text to display to client
-
-
Method Details
-
getErrorCode
-