C# Class NuxeoClient.ClientErrorException

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

Public Methods

Method Description
ClientErrorException ( HttpStatusCode statusCode ) : System

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

ClientErrorException ( HttpStatusCode statusCode, string message ) : System

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

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

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

Method Details

ClientErrorException() public method

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

ClientErrorException() public method

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

ClientErrorException() public method

Initializes a new instance of ClientErrorException with its response status code set to statusCode, its message set to message, and with its inner exception set to inner.
public ClientErrorException ( 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