- com
- pcbsys
- nirvana
- client
- nTransactionException
This class defines the errors that can be thrown by using the nirvana transactional publish API. More...
#include <nTransactionException.h>
Public Member Functions | |
longlong | getServerTTL () |
Gets the transaction TTL value as defined by the server. More... | |
nTransactionException (const std::string &msg) | |
Constructs a new nTransactionException with the specified message. More... | |
nTransactionException (const std::string &msg, longlong ttl) | |
Constructs a new nTransactionException with the specified message and transaction TTL value. More... | |
Public Member Functions inherited from com::pcbsys::nirvana::client::nBaseClientException | |
nBaseClientException (std::string msg) | |
Creates the exception with the specified message. More... | |
This class defines the errors that can be thrown by using the nirvana transactional publish API.
com::pcbsys::nirvana::client::nTransactionException::nTransactionException | ( | const std::string & | msg | ) |
Constructs a new nTransactionException with the specified message.
msg | a string message to specify the nature of the transaction error |
com::pcbsys::nirvana::client::nTransactionException::nTransactionException | ( | const std::string & | msg, |
longlong | ttl | ||
) |
Constructs a new nTransactionException with the specified message and transaction TTL value.
msg | a string message to specify the nature of the transaction error |
ttl | a long specifying the transaction Time To Live (TTL) value as defined by the server |
longlong com::pcbsys::nirvana::client::nTransactionException::getServerTTL | ( | ) |
Gets the transaction TTL value as defined by the server.