C# Class Amazon.Runtime.AmazonServiceException

A base exception for some Amazon Web Services.

Most exceptions thrown to client code will be service-specific exceptions, though some services may throw this exception if there is a problem which is caught in the core client code.

Inheritance: System.Exception
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
AmazonServiceException ( ) : System
AmazonServiceException ( Exception innerException ) : System
AmazonServiceException ( string message ) : System
AmazonServiceException ( string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
AmazonServiceException ( string message, Exception innerException ) : System
AmazonServiceException ( string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
AmazonServiceException ( string message, Exception innerException, HttpStatusCode statusCode ) : System

Méthodes protégées

Méthode Description
AmazonServiceException ( System info, System context ) : System

Constructs a new instance of the AmazonServiceException class with serialized data.

Private Methods

Méthode Description
BuildGenericErrorMessage ( string errorCode, HttpStatusCode statusCode ) : string
GetObjectData ( System info, System context ) : void

Method Details

AmazonServiceException() public méthode

public AmazonServiceException ( ) : System
Résultat System

AmazonServiceException() public méthode

public AmazonServiceException ( Exception innerException ) : System
innerException System.Exception
Résultat System

AmazonServiceException() protected méthode

Constructs a new instance of the AmazonServiceException class with serialized data.
The parameter is null. The class name is null or is zero (0).
protected AmazonServiceException ( System info, System context ) : System
info System The that holds the serialized object data about the exception being thrown.
context System The that contains contextual information about the source or destination.
Résultat System

AmazonServiceException() public méthode

public AmazonServiceException ( string message ) : System
message string
Résultat System

AmazonServiceException() public méthode

public AmazonServiceException ( string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode
Résultat System

AmazonServiceException() public méthode

public AmazonServiceException ( string message, Exception innerException ) : System
message string
innerException System.Exception
Résultat System

AmazonServiceException() public méthode

public AmazonServiceException ( string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
message string
innerException System.Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode
Résultat System

AmazonServiceException() public méthode

public AmazonServiceException ( string message, Exception innerException, HttpStatusCode statusCode ) : System
message string
innerException System.Exception
statusCode HttpStatusCode
Résultat System