GraphException Constructor
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9083)
GraphException(String)
Initializes a new instance of the GraphException class with the specified error message.
Declaration
public GraphException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
GraphException(String, Exception)
Initializes a new instance of the GraphException class with the specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public GraphException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
GraphException(String, GraphExceptionStatus)
Initializes a new instance of the GraphException class with the specified error message and status.
Declaration
public GraphException(string message, GraphExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
GraphExceptionStatus | status | One of the GraphExceptionStatus values. |
GraphException(String, Exception, GraphExceptionStatus)
Initializes a new instance of the GraphException class with the specified error message, status and a reference to the inner exception that is the cause of this exception.
Declaration
public GraphException(string message, Exception innerException, GraphExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
GraphExceptionStatus | status | One of the GraphExceptionStatus values. |
GraphException(String, Exception, GraphExceptionStatus, String, String)
Initializes a new instance of the GraphException class with the specified error message, status and a reference to the inner exception that is the cause of this exception.
Declaration
public GraphException(string message, Exception innerException, GraphExceptionStatus status, string protocolCode, string protocolMessage)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
GraphExceptionStatus | status | One of the GraphExceptionStatus values. |
String | protocolCode | Error code received through the protocol. |
String | protocolMessage | Error message received through the protocol. |