com.pcbsys.nirvana.client.nTransactionException Class Reference

This class defines the errors that can be thrown by using the nirvana transactional publish API. More...

Inheritance diagram for com.pcbsys.nirvana.client.nTransactionException:
com.pcbsys.nirvana.client.nBaseClientException com.pcbsys.nirvana.client.nTransactionAlreadyAbortedException com.pcbsys.nirvana.client.nTransactionAlreadyCommittedException com.pcbsys.nirvana.client.nTransactionNoEventsException com.pcbsys.nirvana.client.nTransactionNoSuchTXIDException com.pcbsys.nirvana.client.nTransactionNotCommittedException com.pcbsys.nirvana.client.nTransactionNotStartedException

Public Member Functions

long getServerTTL ()
 Gets the transaction TTL value as defined by the server. More...
 
 nTransactionException (String msg)
 Default constructor.
 
 nTransactionException (String msg, long ttl)
 Constructs a new nTransactionException with the specified message and transaction TTL value. 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 class defines the errors that can be thrown by using the nirvana transactional publish API.

Constructor & Destructor Documentation

com.pcbsys.nirvana.client.nTransactionException.nTransactionException ( String  msg,
long  ttl 
)

Constructs a new nTransactionException with the specified message and transaction TTL value.

Parameters
msga string message to specify the nature of the transaction error
ttla long specifying the transaction Time To Live (TTL) value as defined by the server

Member Function Documentation

long com.pcbsys.nirvana.client.nTransactionException.getServerTTL ( )

Gets the transaction TTL value as defined by the server.

Returns
a long value specifying the transaction TTL value as defined by the server