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 String
getCode()
The error code is a string that uniquely identifies an error condition.Map<String,String>
getDetails()
String
getMessage()
The error message contains a generic description of the error condition in English.String
getRequestId()
* A unique ID assigned to each request by the system.String
getRequestToken()
String
getSignature()
String
getStringSigned()
void
setCode(String code)
void
setDetails(Map<String,String> context)
void
setMessage(String message)
void
setRequestId(String requestId)
void
setRequestToken(String requestToken)
void
setSignature(String signature)
void
setStringSigned(String stringSigned)
String
toString()
-
-
-
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()
-
-