VMware VMware GemFire Native .NET Reference 10.4.3
Loading...
Searching...
No Matches
Apache::Geode::Client::KeyNotFoundException Class Reference

Thrown if a Key is not present in the region. More...

#include <ExceptionTypes.hpp>

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

Public Member Functions

 KeyNotFoundException ()
 Default constructor.
 
 KeyNotFoundException (String^ message)
 
  • Constructor to create an exception object with the given message.

 
 KeyNotFoundException (String^ message, System::Exception^ innerException)
 
  • Constructor to create an exception object with the given message * and with the given inner exception.

 

Protected Member Functions

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

 

Detailed Description

Thrown if a Key is not present in the region.

Constructor & Destructor Documentation

◆ KeyNotFoundException() [1/4]

Apache::Geode::Client::KeyNotFoundException::KeyNotFoundException ( )
inline

Default constructor.

◆ KeyNotFoundException() [2/4]

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

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

  • *
    Parameters
    messageThe exception message.

◆ KeyNotFoundException() [3/4]

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

◆ KeyNotFoundException() [4/4]

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