Amazon CloudFront Exception provides details of errors
returned by Amazon CloudFront service
| C# |
[SerializableAttribute] public class AmazonCloudFrontException : Exception, ISerializable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AmazonCloudFrontException()()()() |
Initializes a new AmazonCloudFrontException with default values.
| |
| AmazonCloudFrontException(String) |
Initializes a new AmazonCloudFrontException with a specified error message
| |
| AmazonCloudFrontException(Exception) |
Initializes a new AmazonCloudFrontException from the inner exception that is
the cause of this exception.
| |
| AmazonCloudFrontException(String, Exception) |
Initializes a new AmazonCloudFrontException with a specific error message and the inner exception
that is the cause of this exception.
| |
| AmazonCloudFrontException(String, HttpStatusCode) |
Initializes an AmazonCloudFrontException with a specific message and
HTTP status code
| |
| AmazonCloudFrontException(String, HttpStatusCode, String, String, String, String, String, WebHeaderCollection, Exception) |
Initializes an AmazonCloudFrontException with error information provided in an
AmazonCloudFront response.
| |
| CloudFrontRequestAddress |
Gets the CloudFront service address used to make this request.
| |
| 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 the ErrorCode 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 AmazonCloudFrontException.
(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.) | |
| HostId |
Gets the HostId property.
| |
| 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.
| |
| ResponseHeaders |
Gets the error response HTTP headers so that CloudFront specific information
can be retrieved for debugging. Interesting fields are:
a. x-amz-id-2
b. x-amz-request-id
c. Date
A value can be retrieved from this HeaderCollection via:
ResponseHeaders.Get("key");
| |
| 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.
|