com.amazonaws.services.cloudsearch.model
Class BaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
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
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 |
BaseException
public BaseException(String message)
- Constructs a new BaseException with the specified error
message.
- Parameters:
message
- Describes the error encountered.
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.