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

Thrown when a null argument is provided to a method where it is expected to be non-null. More...

#include <ExceptionTypes.hpp>

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

Public Member Functions

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

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

 

Protected Member Functions

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

 

Detailed Description

Thrown when a null argument is provided to a method where it is expected to be non-null.

Constructor & Destructor Documentation

◆ NullPointerException() [1/4]

Apache::Geode::Client::NullPointerException::NullPointerException ( )
inline

Default constructor.

◆ NullPointerException() [2/4]

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

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

  • *
    Parameters
    messageThe exception message.

◆ NullPointerException() [3/4]

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

◆ NullPointerException() [4/4]

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