Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

NullPointerException Class Reference

#include <coherence/lang/NullPointerException.hpp>

Inherits RuntimeException.

List of all members.


Detailed Description

Thrown when an application attempts to use NULL in a case where a non-NULL handle to Object is required.

These include:

Applications should throw instances of this class to indicate other illegal uses of NULL handles.

 

Public Types

typedef spec::Handle  Handle
  NullPointerException Handle definition.
typedef spec::View  View
  NullPointerException View definition.
typedef spec::Holder  Holder
  NullPointerException Holder definition.

Protected Member Functions

  NullPointerException (String::View vsMsg=String::null_string, Exception::View vCause=NULL)
  Create a NullPointerException.

Constructor & Destructor Documentation

NullPointerException ( String::View  vsMsg = String::null_string,
    Exception::View  vCause = NULL  
  )     [protected]

Create a NullPointerException.

Parameters:
  vsMsg  the detail message
  vCause  the underlying cause of the exception

The documentation for this class was generated from the following file:

Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.