Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class RequestTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.amazonaws.AmazonClientException
                  extended by com.amazonaws.AmazonServiceException
                      extended by com.amazonaws.services.glacier.model.RequestTimeoutException
All Implemented Interfaces:
Serializable

public class RequestTimeoutException
extends AmazonServiceException

Returned if, when uploading an archive, Amazon Glacier times out while receiving the upload.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
 
Constructor Summary
RequestTimeoutException(String message)
          Constructs a new RequestTimeoutException with the specified error message.
 
Method Summary
 String getCode()
          Returns the value of the Code property for this object.
 String getType()
          Returns the value of the Type property for this object.
 void setCode(String code)
          Sets the value of the Code property for this object.
 void setType(String type)
          Sets the value of the Type property for this object.
 
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorType, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestTimeoutException

public RequestTimeoutException(String message)
Constructs a new RequestTimeoutException with the specified error message.

Parameters:
message - Describes the error encountered.
Method Detail

getType

public String getType()
Returns the value of the Type property for this object.

Returns:
The value of the Type property for this object.

setType

public void setType(String type)
Sets the value of the Type property for this object.

Parameters:
type - The new value for this object's Type property.

getCode

public String getCode()
Returns the value of the Code property for this object.

Returns:
The value of the Code property for this object.

setCode

public void setCode(String code)
Sets the value of the Code property for this object.

Parameters:
code - The new value for this object's Code property.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.