Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudsearch.model
Class BaseException

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.cloudsearch.model.BaseException
All Implemented Interfaces:
Serializable

public class BaseException
extends AmazonServiceException

An error occurred while processing the request.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
 
Constructor Summary
BaseException(String message)
          Constructs a new BaseException with the specified error message.
 
Method Summary
 String getCode()
          Returns the value of the Code property for this object.
 void setCode(String code)
          Sets the value of the Code 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

BaseException

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

Parameters:
message - Describes the error encountered.
Method Detail

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.