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

Overview

This exception is thrown when a provider is unable to allocate the resources required by a method. For example, this exception should be thrown when a call to [KMTopicConnectionFactory createTopicConnection] fails due to a lack of JMS provider resources.

Tasks

Instance Methods

initWithReason:

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

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

Parameters

reason

a description of the exception

Declared In

KMResourceAllocationException.h

initWithReason:errorCode:

Initializes a KMResourceAllocationException with the specified reason and error code.

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

Parameters

reason

a description of the exception

errorCode

a string specifying the vendor-specific error code

Declared In

KMResourceAllocationException.h