Pivotal GemFire Native .NET Reference  10.2.0
Apache::Geode::Client::CacheClosedException Class Reference

Thrown when an operation is attempted on a closed cache. More...

Inherits Apache::Geode::Client::GeodeException.

Public Member Functions

 CacheClosedException ()
 Default constructor More...
 
 CacheClosedException (String^ message)
 * Constructor to create an exception object with the given message. More...
 
 CacheClosedException (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

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

Detailed Description

Thrown when an operation is attempted on a closed cache.

Constructor & Destructor Documentation

◆ CacheClosedException() [1/4]

Apache::Geode::Client::CacheClosedException::CacheClosedException ( )
inline

Default constructor

◆ CacheClosedException() [2/4]

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

* Constructor to create an exception object with the given message.

*

Parameters
messageThe exception message.


◆ CacheClosedException() [3/4]

Apache::Geode::Client::CacheClosedException::CacheClosedException ( 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.

*

Parameters
innerExceptionThe inner exception object.


◆ CacheClosedException() [4/4]

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

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

  • This allows deserialization of this exception in .NET remoting. *

*

Parameters
info* holds the serialized object data about the exception being thrown *

*

Parameters
context* contains contextual information about the source or destination *



Apache Geode C++ Cache .NET API Documentation