C# Class NuxeoClient.ServerErrorException

The exception that is thrown when an instance of the Nuxeo server throws a server error, with status code between 500 and 599.
Inheritance: System.Exception
Show file Open project: nuxeo/nuxeo-dotnet-client

Public Methods

Method Description
ServerErrorException ( HttpStatusCode statusCode ) : System

Initializes a new instance of ServerErrorException with its response status code set to statusCode.

ServerErrorException ( HttpStatusCode statusCode, string message ) : System

Initializes a new instance of ServerErrorException with its response /// status code set to statusCode and its message set to message.

ServerErrorException ( HttpStatusCode statusCode, string message, Exception inner ) : System

Initializes a new instance of ServerErrorException with its response status code set to statusCode, its message set to message, and with its inner exception set to inner.

Method Details

ServerErrorException() public method

Initializes a new instance of ServerErrorException with its response status code set to statusCode.
public ServerErrorException ( HttpStatusCode statusCode ) : System
statusCode HttpStatusCode The server's response status code.
return System

ServerErrorException() public method

Initializes a new instance of ServerErrorException with its response /// status code set to statusCode and its message set to message.
public ServerErrorException ( HttpStatusCode statusCode, string message ) : System
statusCode HttpStatusCode The server's response status code.
message string The exception message.
return System

ServerErrorException() public method

Initializes a new instance of ServerErrorException with its response status code set to statusCode, its message set to message, and with its inner exception set to inner.
public ServerErrorException ( HttpStatusCode statusCode, string message, Exception inner ) : System
statusCode HttpStatusCode The server's response status code.
message string The exception message.
inner System.Exception The inner excepiton.
return System