Amazon EC2 Exception provides details of errors
returned by Amazon EC2 service
Declaration Syntax
C# |
[SerializableAttribute] public class AmazonEC2Exception : Exception, ISerializable
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
AmazonEC2Exception()()()() |
Initializes a new AmazonEC2Exception with default values.
| |
AmazonEC2Exception(String) |
Initializes a new AmazonEC2Exception with a specified
error message
| |
AmazonEC2Exception(String, HttpStatusCode) |
Initializes a new AmazonEC2Exception with a specified error message
and HTTP status code
| |
AmazonEC2Exception(String, HttpStatusCode, Exception) |
Initializes a new AmazonEC2Exception with a specified error message
and HTTP status code
| |
AmazonEC2Exception(Exception) |
Initializes a new AmazonEC2Exception from the inner exception that is
the cause of this exception.
| |
AmazonEC2Exception(String, Exception) |
Constructs AmazonEC2Exception with message and wrapped exception
| |
AmazonEC2Exception(String, HttpStatusCode, String, String, String, String) |
Initializes an AmazonEC2Exception with error information provided in an
AmazonEC2 response.
| |
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
Equals(Object) | (Inherited from Object.) | |
ErrorCode |
Gets and sets of the ErrorCode property.
| |
ErrorType |
Gets and sets of the ErrorType property.
| |
GetBaseException()()()() | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData(SerializationInfo, StreamingContext) |
Serializes this instance of AmazonEC2Exception.
(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType()()()() | Gets the runtime type of the current instance. (Inherited from Exception.) | |
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
Message |
Gets error message
(Overrides Exception.Message.) | |
RequestId |
Gets Request ID returned by the service if available.
| |
Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | |
StackTrace | Gets a string representation of the frames on the call stack at the time the current exception was thrown. (Inherited from Exception.) | |
StatusCode |
Gets status code returned by the service if available. If status
code is set to -1, it means that status code was unavailable at the
time exception was thrown
| |
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) | |
ToString()()()() | Creates and returns a string representation of the current exception. (Inherited from Exception.) | |
XML |
Gets XML returned by the service if available.
|