Apache Geode Native C++ Reference 1.15.0
apache::geode::client::RollbackException Class Reference

The RollbackException exception indicates that either the transaction has been rolled back or an operation cannot complete because the transaction is marked for rollback only. More...

#include <ExceptionTypes.hpp>

Inherits apache::geode::client::Exception.

Public Member Functions

virtual const std::string & getMessage () const noexcept
 Get a message with details regarding this exception. More...
 
std::string getName () const override
 Return the name of this exception type. More...
 
virtual std::string getStackTrace () const
 Get a stacktrace string from the location the exception was created. More...
 

Detailed Description

The RollbackException exception indicates that either the transaction has been rolled back or an operation cannot complete because the transaction is marked for rollback only.

Member Function Documentation

◆ getMessage()

virtual const std::string & apache::geode::client::Exception::getMessage ( ) const
virtualnoexceptinherited

Get a message with details regarding this exception.

"

◆ getName()

std::string apache::geode::client::RollbackException::getName ( ) const
inlineoverridevirtual

Return the name of this exception type.

Reimplemented from apache::geode::client::Exception.

◆ getStackTrace()

virtual std::string apache::geode::client::Exception::getStackTrace ( ) const
virtualinherited

Get a stacktrace string from the location the exception was created.


Apache Geode C++ Cache API Documentation