C# Class Systran.ApiException

API Exception
Inheritance: System.Exception
Mostrar archivo Open project: SYSTRAN/translation-api-csharp-client

Public Methods

Method Description
ApiException ( ) : System

Initializes a new instance of the ApiException class.

ApiException ( int errorCode, string message ) : System

Initializes a new instance of the ApiException class.

ApiException ( int errorCode, string message, dynamic errorContent = null ) : System

Method Details

ApiException() public method

Initializes a new instance of the ApiException class.
public ApiException ( ) : System
return System

ApiException() public method

Initializes a new instance of the ApiException class.
public ApiException ( int errorCode, string message ) : System
errorCode int HTTP status code.
message string Error message.
return System

ApiException() public method

public ApiException ( int errorCode, string message, dynamic errorContent = null ) : System
errorCode int
message string
errorContent dynamic
return System