public class AsperaTransferException extends SdkClientException
Constructor and Description |
---|
AsperaTransferException(String errorMessage)
Constructs a new AsperaTransferException with the specified message.
|
AsperaTransferException(String errorMessage,
Exception cause)
Constructs a new AsperaTransferException with the specified message and
exception indicating the root cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage() |
int |
getStatusCode() |
String |
getStatusMessage() |
void |
setErrorMessage(String value)
Sets the human-readable error message provided by the service.
|
void |
setStatusCode(int statusCode)
Sets the status code returned by the server.
|
void |
setStatusMessage(String statusMessage)
Sets the status message returned by the server.
|
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AsperaTransferException(String errorMessage)
errorMessage
- An error message describing what went wrong.public AsperaTransferException(String errorMessage, Exception cause)
errorMessage
- An error message describing what went wrong.cause
- The root exception that caused this exception to be thrown.public String getErrorMessage()
public void setErrorMessage(String value)
public int getStatusCode()
public void setStatusCode(int statusCode)
public String getStatusMessage()
public void setStatusMessage(String statusMessage)
Copyright © 2024. All rights reserved.