KMInvalidDestinationException Class Reference
Inherits from | KMJMSException : KCException : NSException |
Declared in | KMInvalidDestinationException.h |
Overview
This exception must be thrown when a destination either is not understood by a provider or is no longer valid.
Tasks
-
– initWithReason:errorCode:
Initializes a KMInvalidDestinationException with the specified reason and error code.
-
– initWithReason:
Initializes a KMInvalidDestinationException with the specified reason. The error code defaults to nil.
Instance Methods
initWithReason:
Initializes a KMInvalidDestinationException with the specified reason. The error code defaults to nil.
- (KMInvalidDestinationException *)initWithReason:(NSString *)reason
Parameters
- reason
a description of the exception
Declared In
KMInvalidDestinationException.h
initWithReason:errorCode:
Initializes a KMInvalidDestinationException with the specified reason and error code.
- (KMInvalidDestinationException *)initWithReason:(NSString *)reason errorCode:(NSString *)errorCode
Parameters
- reason
a description of the exception
- errorCode
a string specifying the vendor-specific error code
Declared In
KMInvalidDestinationException.h