public class CloudConnectorException extends RequestExecutionException
Constructor and Description |
---|
CloudConnectorException(int cloudConnectorStatusCode,
String message)
Constructor.
|
CloudConnectorException(int cloudConnectorStatusCode,
String message,
Throwable cause)
Constructor.
|
CloudConnectorException(int cloudConnectorStatusCode,
Throwable cause)
Constructor.
|
CloudConnectorException(String message)
Constructor.
|
CloudConnectorException(String message,
Throwable cause)
Constructor.
|
CloudConnectorException(Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCloudConnectorStatusCode() |
ResponseWithErrorCode |
getErrorResponse()
Gets the response containing an HTTP error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CloudConnectorException(@Nullable String message)
message
- The message.public CloudConnectorException(int cloudConnectorStatusCode, @Nullable String message)
cloudConnectorStatusCode
- The cloud connector response status code.message
- The message.public CloudConnectorException(@Nullable Throwable cause)
cause
- The error cause.public CloudConnectorException(int cloudConnectorStatusCode, @Nullable Throwable cause)
cloudConnectorStatusCode
- The cloud connector response status code.cause
- The error cause.public CloudConnectorException(@Nullable String message, @Nullable Throwable cause)
message
- The message.cause
- The error cause.@Nonnull public ResponseWithErrorCode getErrorResponse()
WithErrorResponse
getErrorResponse
in interface WithErrorResponse
getErrorResponse
in class RequestExecutionException
public int getCloudConnectorStatusCode()
Copyright © 2020 SAP SE. All rights reserved.