Package org.jclouds.aws.domain
Class AWSError
- java.lang.Object
-
- org.jclouds.aws.domain.AWSError
-
public class AWSError extends Object
When an Amazon S3 request is in error, the client receives an error response.
-
-
Constructor Summary
Constructors Constructor Description AWSError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()The error code is a string that uniquely identifies an error condition.Map<String,String>getDetails()StringgetMessage()The error message contains a generic description of the error condition in English.StringgetRequestId()* A unique ID assigned to each request by the system.StringgetRequestToken()StringgetSignature()StringgetStringSigned()voidsetCode(String code)voidsetDetails(Map<String,String> context)voidsetMessage(String message)voidsetRequestId(String requestId)voidsetRequestToken(String requestToken)voidsetSignature(String signature)voidsetStringSigned(String stringSigned)StringtoString()
-
-
-
Method Detail
-
setCode
public void setCode(String code)
-
getCode
public String getCode()
The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type
-
setMessage
public void setMessage(String message)
-
getMessage
public String getMessage()
The error message contains a generic description of the error condition in English.
-
setRequestId
public void setRequestId(String requestId)
-
getRequestId
public String getRequestId()
* A unique ID assigned to each request by the system. In the unlikely event that you have problems with Amazon S3, Amazon can use this to help troubleshoot the problem.
-
setStringSigned
public void setStringSigned(String stringSigned)
-
getStringSigned
public String getStringSigned()
- Returns:
- what jclouds signed before sending the request.
-
getDetails
public Map<String,String> getDetails()
- Returns:
- additional details surrounding the error.
-
setRequestToken
public void setRequestToken(String requestToken)
-
getRequestToken
public String getRequestToken()
-
setSignature
public void setSignature(String signature)
-
getSignature
public String getSignature()
-
-