Class RestApiResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.ErrorResponseException
org.springframework.web.server.ResponseStatusException
org.bremersee.exception.RestApiResponseException
All Implemented Interfaces:
Serializable, RestApiExceptionAware, org.springframework.web.ErrorResponse

public class RestApiResponseException extends org.springframework.web.server.ResponseStatusException implements RestApiExceptionAware
The rest api response exception.
Author:
Christian Bremer
See Also:
  • Constructor Details

    • RestApiResponseException

      public RestApiResponseException(RestApiException restApiException)
      Instantiates a new rest api response exception.
      Parameters:
      restApiException - the rest api exception
    • RestApiResponseException

      public RestApiResponseException(org.springframework.http.HttpStatusCode status, RestApiException restApiException)
      Instantiates a new rest api response exception.
      Parameters:
      status - the status
      restApiException - the rest api exception