public class ServiceNotAvailableException extends Exception implements WithErrorResponse
Constructor and Description |
---|
ServiceNotAvailableException() |
ServiceNotAvailableException(String message) |
ServiceNotAvailableException(String message,
Throwable cause) |
ServiceNotAvailableException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ResponseWithErrorCode |
getErrorResponse()
Gets the response containing an HTTP error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceNotAvailableException(@Nullable String message, @Nullable Throwable cause)
public ServiceNotAvailableException()
@Nonnull public ResponseWithErrorCode getErrorResponse()
getErrorResponse
in interface WithErrorResponse
Copyright © 2019 SAP SE. All rights reserved.