com.xerox.amazonws.common
Class AWSError

java.lang.Object
  extended by com.xerox.amazonws.common.AWSError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FPSError

public class AWSError
extends Object
implements Serializable

A wrapper exception to simplify catching errors related to AWS activity.

Author:
D. Kavanagh, developer@dotech.com
See Also:
Serialized Form

Nested Class Summary
static class AWSError.ErrorType
           
 
Constructor Summary
AWSError(AWSError.ErrorType type, String code, String message)
           
 
Method Summary
 String getCode()
           
 AWSError.ErrorType getErrorType()
           
 String getMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AWSError

public AWSError(AWSError.ErrorType type,
                String code,
                String message)
Method Detail

getErrorType

public AWSError.ErrorType getErrorType()

getCode

public String getCode()

getMessage

public String getMessage()

toString

public String toString()
Overrides:
toString in class Object