Pivotal GemFire Native C++ Reference  10.2.0
apache::geode::client::Exception Class Reference

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

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

◆ 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