Package com.hazelcast.aws.exception
Class AwsConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hazelcast.aws.exception.AwsConnectionException
- All Implemented Interfaces:
Serializable
public class AwsConnectionException extends RuntimeException
Thrown to indicate an error while connecting to AWS.
A list of error codes can be found at: {@see http://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html}.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AwsConnectionException(int httpReponseCode, String errorMessage)
-
Method Summary
Modifier and Type Method Description String
getErrorMessage()
int
getHttpReponseCode()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getHttpReponseCode
public int getHttpReponseCode() -
getErrorMessage
-