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

Overview

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

Tasks

Instance Methods

initWithReason:

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

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

Parameters

reason

a description of the exception

Declared In

KMMessageNotWriteableException.h

initWithReason:errorCode:

Initializes a KMMessageNotWriteableException with the specified reason and error code.

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

Parameters

reason

a description of the exception

errorCode

a string specifying the vendor-specific error code

Declared In

KMMessageNotWriteableException.h