Inheritance: System.Exception, ISerializable
        public AmazonCloudFrontException(string message, Exception innerException) : base(message, innerException)
        {
            this.message = message;
            AmazonCloudFrontException exception = innerException as AmazonCloudFrontException;

            if (exception != null)
            {
                this.statusCode = exception.StatusCode;
                this.errorCode  = exception.ErrorCode;
                this.requestId  = exception.RequestId;
                this.message    = exception.Message;
                this.type       = exception.type;
                this.xml        = exception.XML;
            }
        }