com.pcbsys.nirvana.client.nMasterRedirectException Class Reference

The exception thrown when a client connects to a slave node in a cluster and cluster mode is specified as 'Replication'. More...

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

Public Member Functions

 nMasterRedirectException ()
 Default Constructor.
 
 nMasterRedirectException (String message)
 Constructs a new nMasterRedirectException 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

The exception thrown when a client connects to a slave node in a cluster and cluster mode is specified as 'Replication'.

In this mode, only master node is allowed to service client requests.

Constructor & Destructor Documentation

com.pcbsys.nirvana.client.nMasterRedirectException.nMasterRedirectException ( String  message)

Constructs a new nMasterRedirectException with the specified message.

Parameters
messagea string message to specify the error