KMInvalidClientIDException Class Reference
Inherits from | KMJMSException : KCException : NSException |
Declared in | KMInvalidClientIDException.h |
Overview
This exception must be thrown when a client attempts to set a connection’s client ID to a value that is rejected by a provider.
Tasks
-
– initWithReason:errorCode:
Initializes a KMInvalidClientIDException with the specified reason and error code.
-
– initWithReason:
Initializes a KMInvalidClientIDException with the specified reason. The error code defaults to nil.
Instance Methods
initWithReason:
Initializes a KMInvalidClientIDException with the specified reason. The error code defaults to nil.
- (KMInvalidClientIDException *)initWithReason:(NSString *)reason
Parameters
- reason
a description of the exception
Declared In
KMInvalidClientIDException.h
initWithReason:errorCode:
Initializes a KMInvalidClientIDException with the specified reason and error code.
- (KMInvalidClientIDException *)initWithReason:(NSString *)reason errorCode:(NSString *)errorCode
Parameters
- reason
a description of the exception
- errorCode
a string specifying the vendor-specific error code
Declared In
KMInvalidClientIDException.h