public class RequestExecutionException extends Exception implements WithErrorResponse
Constructor and Description |
---|
RequestExecutionException() |
RequestExecutionException(String message)
Constructor.
|
RequestExecutionException(String message,
Throwable cause)
Constructor.
|
RequestExecutionException(Throwable cause)
Constructor.
|
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 RequestExecutionException(@Nullable String message)
message
- The message.public RequestExecutionException(@Nullable Throwable cause)
cause
- The error cause.public RequestExecutionException(@Nullable String message, @Nullable Throwable cause)
message
- The message.cause
- The error cause.public RequestExecutionException()
@Nonnull public ResponseWithErrorCode getErrorResponse()
WithErrorResponse
getErrorResponse
in interface WithErrorResponse
Copyright © 2020 SAP SE. All rights reserved.