Class AmqpException
Represents an NMS exception
Inheritance
AmqpException
Implements
Inherited Members
Namespace: CodersRealm.AmqpClient
Assembly: CodersRealm.AmqpClient.dll
Syntax
[Serializable]
public class AmqpException : Exception, ISerializable
Constructors
AmqpException()
Initializes a new instance of the NMSException class.
Declaration
public AmqpException()
AmqpException(string)
Initializes a new instance of the NMSException class.
Declaration
public AmqpException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
AmqpException(string, Exception)
Initializes a new instance of the NMSException class.
Declaration
public AmqpException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | |
| Exception | innerException |
AmqpException(string, string)
Initializes a new instance of the NMSException class.
Declaration
public AmqpException(string message, string errorCode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | |
| string | errorCode |
AmqpException(string, string, Exception)
Initializes a new instance of the NMSException class.
Declaration
public AmqpException(string message, string errorCode, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | |
| string | errorCode | |
| Exception | innerException |
Properties
ErrorCode
Returns the error code for the exception, if one has been provided.
Declaration
public string ErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExceptionErrorCode
Protected exception error code property
Declaration
protected string ExceptionErrorCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |