Inherits from KMJMSException : KCException : NSException
Declared in KMMessageNotReadableException.h

Overview

This exception must be thrown when a JMS client attempts to read a write-only message.

Tasks

Instance Methods

initWithReason:

Initializes a KMMessageNotReadableException with the specified reason. The error code defaults to nil.

- (KMMessageNotReadableException *)initWithReason:(NSString *)reason

Parameters

reason

a description of the exception

Declared In

KMMessageNotReadableException.h

initWithReason:errorCode:

Initializes a KMMessageNotReadableException with the specified reason and error code.

- (KMMessageNotReadableException *)initWithReason:(NSString *)reason errorCode:(NSString *)errorCode

Parameters

reason

a description of the exception

errorCode

a string specifying the vendor-specific error code

Declared In

KMMessageNotReadableException.h