com.pcbsys.nirvana.client.nIllegalStateException Class Reference

This exception is thrown if a Channel or Queue is in an illegal state for specific functionality to be offered. More...

Inheritance diagram for com.pcbsys.nirvana.client.nIllegalStateException:
com.pcbsys.nirvana.client.nBaseClientException

Public Member Functions

 nIllegalStateException ()
 Default constructor.
 
 nIllegalStateException (String msg)
 Constructs a new nIllegalStateException with the specified message. More...
 
- Public Member Functions inherited from com.pcbsys.nirvana.client.nBaseClientException
final String getErrorCode ()
 Returns the error code for this exception. More...
 
int getID ()
 Returns the ID of this exception. More...
 
 nBaseClientException (String msg)
 Creates the exception with the specified message. More...
 
 nBaseClientException (String msg, int _ID, String _errorCode)
 Creates the exception with the specified message. More...
 
 nBaseClientException (String msg, int _ID, String _errorCode, Throwable cause)
 Creates the exception with the specified message and cause. More...
 

Detailed Description

This exception is thrown if a Channel or Queue is in an illegal state for specific functionality to be offered.

For example if a queue has a listener set and you attempt to set another listener, it will throw an instance of nIllegalStateException.

See Also
nQueue

Constructor & Destructor Documentation

com.pcbsys.nirvana.client.nIllegalStateException.nIllegalStateException ( String  msg)

Constructs a new nIllegalStateException with the specified message.

Parameters
msga string message to specify the nature of the error