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 ()
 Creates the exception with the default message More...
 
 nIllegalStateException (String msg)
 Creates the exception with the specified message More...
 
 nIllegalStateException (String msg, Exception innerException)
 Creates the exception with the specified message and inner exception which resulted in an IllegalStateException 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.

nQueue

Constructor & Destructor Documentation

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

Creates the exception with the default message

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

Creates the exception with the specified message

Parameters
msgMessage string
com.pcbsys.nirvana.client.nIllegalStateException.nIllegalStateException ( String  msg,
Exception  innerException 
)

Creates the exception with the specified message and inner exception which resulted in an IllegalStateException

Parameters
msgMessage string
innerExceptionInner exception