Class InvalidClientIDException
Thrown when the client identifier provided for a connection is invalid. This mirrors the behavior of the Apache NMS InvalidClientIDException and is raised when a client id is malformed, already in use, or otherwise not acceptable to the broker or client implementation.
Implements
Inherited Members
Namespace: CodersRealm.AmqpClient
Assembly: CodersRealm.AmqpClient.dll
Syntax
[Serializable]
public class InvalidClientIDException : AmqpException, ISerializable
Constructors
InvalidClientIDException()
Initializes a new instance of the InvalidClientIDException class.
Declaration
public InvalidClientIDException()
InvalidClientIDException(string)
Initializes a new instance of the InvalidClientIDException class with a specified error message.
Declaration
public InvalidClientIDException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
InvalidClientIDException(string, Exception)
Initializes a new instance of the InvalidClientIDException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public InvalidClientIDException(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. |
InvalidClientIDException(string, string)
Initializes a new instance of the InvalidClientIDException class with a specified error message and provider-specific error code.
Declaration
public InvalidClientIDException(string message, string errorCode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
| string | errorCode | A provider-specific error code associated with the exception. |
InvalidClientIDException(string, string, Exception)
Initializes a new instance of the InvalidClientIDException class with a specified error message, provider-specific error code, and a reference to the inner exception that is the cause of this exception.
Declaration
public InvalidClientIDException(string message, string errorCode, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
| string | errorCode | A provider-specific error code associated with the exception. |
| Exception | innerException | The exception that is the cause of the current exception. |