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

A description of an exception that occurred during a cache operation. More...

#include <Exception.hpp>

Inherits std::exception.

Inherited by apache::geode::client::AllConnectionsInUseException, apache::geode::client::AlreadyConnectedException, apache::geode::client::AssertionException, apache::geode::client::AuthenticationFailedException, apache::geode::client::AuthenticationRequiredException, apache::geode::client::BufferSizeExceededException, apache::geode::client::CacheClosedException, apache::geode::client::CacheExistsException, apache::geode::client::CacheListenerException, apache::geode::client::CacheLoaderException, apache::geode::client::CacheProxyException, apache::geode::client::CacheServerException, apache::geode::client::CacheWriterException, apache::geode::client::CacheXmlException, apache::geode::client::ClassCastException, apache::geode::client::CommitConflictException, apache::geode::client::ConcurrentModificationException, apache::geode::client::CqClosedException, apache::geode::client::CqException, apache::geode::client::CqExistsException, apache::geode::client::CqInvalidException, apache::geode::client::CqQueryException, apache::geode::client::DiskCorruptException, apache::geode::client::DiskFailureException, apache::geode::client::DuplicateDurableClientException, apache::geode::client::EntryDestroyedException, apache::geode::client::EntryExistsException, apache::geode::client::EntryNotFoundException, apache::geode::client::FatalInternalException, apache::geode::client::FileNotFoundException, apache::geode::client::FunctionExecutionException, apache::geode::client::GeodeConfigException, apache::geode::client::GeodeIOException, apache::geode::client::IllegalArgumentException, apache::geode::client::IllegalStateException, apache::geode::client::InitFailedException, apache::geode::client::InterruptedException, apache::geode::client::InvalidDeltaException, apache::geode::client::KeyNotFoundException, apache::geode::client::LeaseExpiredException, apache::geode::client::LowMemoryException, apache::geode::client::MessageException, apache::geode::client::NoAvailableLocatorsException, apache::geode::client::NoSystemException, apache::geode::client::NotAuthorizedException, apache::geode::client::NotConnectedException, apache::geode::client::NotOwnerException, apache::geode::client::NullPointerException, apache::geode::client::OutOfMemoryException, apache::geode::client::OutOfRangeException, apache::geode::client::PutAllPartialResultException, apache::geode::client::QueryException, apache::geode::client::QueryExecutionLowMemoryException, apache::geode::client::RegionCreationFailedException, apache::geode::client::RegionDestroyedException, apache::geode::client::RegionExistsException, apache::geode::client::RollbackException, apache::geode::client::ShutdownFailedException, apache::geode::client::SslException, apache::geode::client::StatisticsDisabledException, apache::geode::client::TimeoutException, apache::geode::client::TransactionDataNodeHasDepartedException, apache::geode::client::TransactionDataRebalancedException, apache::geode::client::TransactionException, apache::geode::client::UnknownException, apache::geode::client::UnsupportedOperationException, and apache::geode::client::WrongRegionScopeException.

Public Member Functions

virtual const std::string & getMessage () const noexcept
 Get a message with details regarding this exception. More...
 
virtual std::string getName () const
 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

A description of an exception that occurred during a cache operation.

Member Function Documentation

◆ getMessage()

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

Get a message with details regarding this exception.

"

◆ getName()

virtual std::string apache::geode::client::Exception::getName ( ) const
virtual

Return the name of this exception type.

Reimplemented in apache::geode::client::AssertionException, apache::geode::client::IllegalArgumentException, apache::geode::client::IllegalStateException, apache::geode::client::CacheExistsException, apache::geode::client::CacheXmlException, apache::geode::client::TimeoutException, apache::geode::client::CacheWriterException, apache::geode::client::RegionExistsException, apache::geode::client::CacheClosedException, apache::geode::client::LeaseExpiredException, apache::geode::client::CacheLoaderException, apache::geode::client::RegionDestroyedException, apache::geode::client::EntryDestroyedException, apache::geode::client::NoSystemException, apache::geode::client::AlreadyConnectedException, apache::geode::client::FileNotFoundException, apache::geode::client::InterruptedException, apache::geode::client::UnsupportedOperationException, apache::geode::client::StatisticsDisabledException, apache::geode::client::ConcurrentModificationException, apache::geode::client::UnknownException, apache::geode::client::ClassCastException, apache::geode::client::EntryNotFoundException, apache::geode::client::GeodeIOException, apache::geode::client::GeodeConfigException, apache::geode::client::NullPointerException, apache::geode::client::EntryExistsException, apache::geode::client::NotConnectedException, apache::geode::client::CacheProxyException, apache::geode::client::OutOfMemoryException, apache::geode::client::NotOwnerException, apache::geode::client::WrongRegionScopeException, apache::geode::client::BufferSizeExceededException, apache::geode::client::RegionCreationFailedException, apache::geode::client::FatalInternalException, apache::geode::client::DiskFailureException, apache::geode::client::DiskCorruptException, apache::geode::client::InitFailedException, apache::geode::client::ShutdownFailedException, apache::geode::client::CacheServerException, apache::geode::client::OutOfRangeException, apache::geode::client::QueryException, apache::geode::client::MessageException, apache::geode::client::NotAuthorizedException, apache::geode::client::AuthenticationFailedException, apache::geode::client::AuthenticationRequiredException, apache::geode::client::DuplicateDurableClientException, apache::geode::client::CacheListenerException, apache::geode::client::CqException, apache::geode::client::CqClosedException, apache::geode::client::CqQueryException, apache::geode::client::CqExistsException, apache::geode::client::CqInvalidException, apache::geode::client::FunctionExecutionException, apache::geode::client::NoAvailableLocatorsException, apache::geode::client::AllConnectionsInUseException, apache::geode::client::InvalidDeltaException, apache::geode::client::KeyNotFoundException, apache::geode::client::TransactionException, apache::geode::client::RollbackException, apache::geode::client::CommitConflictException, apache::geode::client::TransactionDataNodeHasDepartedException, apache::geode::client::TransactionDataRebalancedException, apache::geode::client::PutAllPartialResultException, apache::geode::client::LowMemoryException, apache::geode::client::QueryExecutionLowMemoryException, and apache::geode::client::SslException.

◆ getStackTrace()

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

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


Apache Geode C++ Cache API Documentation