Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

javax::jms::ResourceAllocationException Class Reference

This exception is thrown when a provider is unable to allocate the resources required by a method. More...

#include <javax_jms_ResourceAllocationException.h>

Inheritance diagram for javax::jms::ResourceAllocationException:

Inheritance graph
[legend]
Collaboration diagram for javax::jms::ResourceAllocationException:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9,
  xmogBuildNumber = 2047
}
typedef ::xmog_java_array_template<
::javax::jms::ResourceAllocationException
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::javax::jms::ResourceAllocationException > > 
array2D

Public Member Functions

 ResourceAllocationException (const ::java::lang::String &reason, const ::java::lang::String &errorCode,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs a ResourceAllocationException with the specified reason and error code.
 ResourceAllocationException (const ::java::lang::String &reason,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs a ResourceAllocationException with the specified reason.

Detailed Description

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 TopicConnectionFactory.createTopicConnection fails due to a lack of JMS provider resources.

Author:
Rahul Sharma


Constructor & Destructor Documentation

javax::jms::ResourceAllocationException::ResourceAllocationException const ::java::lang::String reason,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs a ResourceAllocationException with the specified reason.

The error code defaults to null.

Parameters:
reason a description of the exception
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.

javax::jms::ResourceAllocationException::ResourceAllocationException const ::java::lang::String reason,
const ::java::lang::String errorCode,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs a ResourceAllocationException with the specified reason and error code.

Parameters:
reason a description of the exception
errorCode a string specifying the vendor-specific error code
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 10:19:58 2006 for JMS Courier for C++ by  doxygen 1.4.1