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

javax::jms::IllegalStateException Class Reference

This exception is thrown when a method is invoked at an illegal or inappropriate time or if the provider is not in an appropriate state for the requested operation. More...

#include <javax_jms_IllegalStateException.h>

Inheritance diagram for javax::jms::IllegalStateException:

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

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::IllegalStateException
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::javax::jms::IllegalStateException > > 
array2D

Public Member Functions

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

Detailed Description

This exception is thrown when a method is invoked at an illegal or inappropriate time or if the provider is not in an appropriate state for the requested operation.

For example, this exception must be thrown if Session.commit is called on a non-transacted session. This exception is also called when a domain inappropriate method is called, such as calling TopicSession.CreateQueueBrowser.

Author:
Rahul Sharma

Kate Stout


Constructor & Destructor Documentation

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

Constructs an IllegalStateException 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::IllegalStateException::IllegalStateException const ::java::lang::String reason,
const ::java::lang::String errorCode,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs an IllegalStateException 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:48 2006 for JMS Courier for C++ by  doxygen 1.4.1