activemq-cpp-3.4.0

decaf::lang::exceptions::NullPointerException Class Reference

#include <src/main/decaf/lang/exceptions/NullPointerException.h>

Inheritance diagram for decaf::lang::exceptions::NullPointerException:

Public Member Functions

 NullPointerException () throw ()
 Default Constructor.
 NullPointerException (const Exception &ex) throw ()
 Conversion Constructor from some other Exception.
 NullPointerException (const NullPointerException &ex) throw ()
 Copy Constructor.
 NullPointerException (const char *file, const int lineNumber, const std::exception *cause, const char *msg,...) throw ()
 Constructor - Initializes the file name and line number where this message occurred.
 NullPointerException (const std::exception *cause) throw ()
 Constructor.
 NullPointerException (const char *file, const int lineNumber, const char *msg,...) throw ()
 Constructor - Initializes the file name and line number where this message occured.
virtual NullPointerExceptionclone () const
 Clones this exception.
virtual ~NullPointerException () throw ()

Constructor & Destructor Documentation

decaf::lang::exceptions::NullPointerException::NullPointerException ( ) throw () [inline]

Default Constructor.

decaf::lang::exceptions::NullPointerException::NullPointerException ( const Exception ex) throw () [inline]

Conversion Constructor from some other Exception.

Parameters:
exThe Exception whose data is to be copied into this one.
decaf::lang::exceptions::NullPointerException::NullPointerException ( const NullPointerException ex) throw () [inline]

Copy Constructor.

Parameters:
exThe Exception whose data is to be copied into this one.
decaf::lang::exceptions::NullPointerException::NullPointerException ( const char *  file,
const int  lineNumber,
const std::exception *  cause,
const char *  msg,
  ... 
) throw () [inline]

Constructor - Initializes the file name and line number where this message occurred.

Sets the message to report, using an optional list of arguments to parse into the message

Parameters:
fileThe file name where exception occurs
lineNumberThe line number where the exception occurred.
causeThe exception that was the cause for this one to be thrown.
msgThe message to report
...list of primitives that are formatted into the message
decaf::lang::exceptions::NullPointerException::NullPointerException ( const std::exception *  cause) throw () [inline]

Constructor.

Parameters:
causePointer to the exception that caused this one to be thrown, the object is cloned caller retains ownership.
decaf::lang::exceptions::NullPointerException::NullPointerException ( const char *  file,
const int  lineNumber,
const char *  msg,
  ... 
) throw () [inline]

Constructor - Initializes the file name and line number where this message occured.

Sets the message to report, using an optional list of arguments to parse into the message

Parameters:
fileThe file name where exception occurs
lineNumberThe line number where the exception occurred.
msgThe message to report
...list of primitives that are formatted into the message
virtual decaf::lang::exceptions::NullPointerException::~NullPointerException ( ) throw () [inline, virtual]

Member Function Documentation

virtual NullPointerException* decaf::lang::exceptions::NullPointerException::clone ( ) const [inline, virtual]

Clones this exception.

This is useful for cases where you need to preserve the type of the original exception as well as the message. All subclasses should override.

Returns:
an new Exception instance that is a copy of this one.

Reimplemented from decaf::lang::Exception.


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