org.jclouds.aws.domain
Class AWSError

java.lang.Object
  extended by org.jclouds.aws.domain.AWSError

public class AWSError
extends Object

When an Amazon S3 request is in error, the client receives an error response.

Author:
Adrian Cole
See Also:

Constructor Summary
AWSError()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AWSError

public AWSError()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

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

See Also:

setMessage

public void setMessage(String message)

getMessage

public String getMessage()
The error message contains a generic description of the error condition in English.

See Also:

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.

setDetails

public void setDetails(Map<String,String> context)

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()


Copyright © 2009-2011 jclouds. All Rights Reserved.