KMJMSSecurityException Class Reference
Inherits from | KMJMSException : KCException : NSException |
Declared in | KMJMSSecurityException.h |
Overview
This exception must be thrown when a provider rejects a user name/password submitted by a client. It may also be thrown for any case where a security restriction prevents a method from completing.
Tasks
-
– initWithReason:errorCode:
Initializes a KMJMSSecurityException with the specified reason and error code.
-
– initWithReason:
Initializes a KMJMSSecurityException with the specified reason. The error code defaults to nil.
Instance Methods
initWithReason:
Initializes a KMJMSSecurityException with the specified reason. The error code defaults to nil.
- (KMJMSSecurityException *)initWithReason:(NSString *)reason
Parameters
- reason
a description of the exception
Declared In
KMJMSSecurityException.h
initWithReason:errorCode:
Initializes a KMJMSSecurityException with the specified reason and error code.
- (KMJMSSecurityException *)initWithReason:(NSString *)reason errorCode:(NSString *)errorCode
Parameters
- reason
a description of the exception
- errorCode
a string specifying the vendor-specific error code
Declared In
KMJMSSecurityException.h