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.nTransactionIncompleteException 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 message)
 Creates the exception with the specified message More...
 
 nTransactionException (string msg, long ttl)
 Constructs a new nTransactionException with the specified message and transaction TTL value. 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  message)

Creates the exception with the specified message

Parameters
messageMessage string
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