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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BadRequestException

      public BadRequestException(UserInterfaceErrorCodes errorCode, String message)
      Parameters:
      errorCode - the error ui error code associated with the exception
      message - text to display to client
  • Method Details