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 (c) 2000-2008 Oracle. All rights reserved.