VMware Tanzu GemFire Native .NET Reference 10.2.7
Apache::Geode::Client::GeodeException Class Reference

The base exception class of all managed Geode exceptions. More...

#include <ExceptionTypes.hpp>

Inherits System::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::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::QueryException, Apache::Geode::Client::RegionCreationFailedException, Apache::Geode::Client::RegionDestroyedException, Apache::Geode::Client::RegionExistsException, Apache::Geode::Client::ShutdownFailedException, Apache::Geode::Client::StatisticsDisabledException, Apache::Geode::Client::TimeoutException, Apache::Geode::Client::TransactionDataNodeHasDepartedException, Apache::Geode::Client::TransactionDataRebalancedException, Apache::Geode::Client::UnknownException, Apache::Geode::Client::UnsupportedOperationException, and Apache::Geode::Client::WrongRegionScopeException.

Public Member Functions

 GeodeException ()
 Default constructor. More...
 
 GeodeException (String^ message)
 Constructor to create an exception object with the given message. More...
 
 GeodeException (String^ message, System::Exception^ innerException)
 Constructor to create an exception object with the given message and with the given inner exception. More...
 

Protected Member Functions

 GeodeException (SerializationInfo^ info, StreamingContext context)
 Initializes a new instance of the GeodeException class with serialized data. More...
 

Detailed Description

The base exception class of all managed Geode exceptions.

Constructor & Destructor Documentation

◆ GeodeException() [1/4]

Apache::Geode::Client::GeodeException::GeodeException ( )
inline

Default constructor.

◆ GeodeException() [2/4]

Apache::Geode::Client::GeodeException::GeodeException ( String^  message)
inline

Constructor to create an exception object with the given message.

Parameters
messageThe exception message.

◆ GeodeException() [3/4]

Apache::Geode::Client::GeodeException::GeodeException ( String^  message,
System::Exception^  innerException 
)
inline

Constructor to create an exception object with the given message and with the given inner exception.

Parameters
messageThe exception message.
innerExceptionThe inner exception object.

◆ GeodeException() [4/4]

Apache::Geode::Client::GeodeException::GeodeException ( SerializationInfo^  info,
StreamingContext  context 
)
inlineprotected

Initializes a new instance of the GeodeException class with serialized data.

This allows deserialization of this exception in .NET remoting.

Parameters
infoholds the serialized object data about the exception being thrown
contextcontains contextual information about the source or destination

Apache Geode C++ Cache .NET API Documentation