NuxeoDotNetClient  1.0.0 beta
.NET Client for Nuxeo Automation and REST API
Public Member Functions | Properties | List of all members
NuxeoClient.ServerException Class Reference

The exception that is thrown when an instance of the Nuxeo server throws an exception. More...

Public Member Functions

 ServerException (HttpStatusCode statusCode)
 Initializes a new instance of ServerException with its response status code set to statusCode . More...
 
 ServerException (HttpStatusCode statusCode, string message)
 Initializes a new instance of ServerException with its response /// status code set to statusCode and its message set to message . More...
 
 ServerException (HttpStatusCode statusCode, string message, Exception inner)
 Initializes a new instance of ServerException with its response status code set to statusCode , its message set to message , and with its inner exception set to inner . More...
 

Properties

HttpStatusCode StatusCode [get, protected set]
 Initializes a new instance of ServerException with an empty message. More...
 

Detailed Description

The exception that is thrown when an instance of the Nuxeo server throws an exception.

Definition at line 27 of file ServerException.cs.

Inheritance diagram for NuxeoClient.ServerException:

Constructor & Destructor Documentation

NuxeoClient.ServerException.ServerException ( HttpStatusCode  statusCode)

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

Parameters
statusCodeThe server's response status code.

Definition at line 40 of file ServerException.cs.

NuxeoClient.ServerException.ServerException ( HttpStatusCode  statusCode,
string  message 
)

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

Parameters
statusCodeThe server's response status code.
messageThe exception message.

Definition at line 52 of file ServerException.cs.

NuxeoClient.ServerException.ServerException ( HttpStatusCode  statusCode,
string  message,
Exception  inner 
)

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

Parameters
statusCodeThe server's response status code.
messageThe exception message.
innerThe inner excepiton.

Definition at line 67 of file ServerException.cs.

Property Documentation

HttpStatusCode NuxeoClient.ServerException.StatusCode
getprotected set

Initializes a new instance of ServerException with an empty message.

Definition at line 33 of file ServerException.cs.