UAPNodeException Class Reference

Signals that a node exception of some sort occurred. More...

#include <UAPException.hpp>

Inherits UAPException.

Inherited by UAPAttributeConfusion, UAPAttributeNotFound, UAPBadAttributeValue, and UAPNodeNotFound.

Collaboration diagram for UAPNodeException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UAPNodeException (const std::string &_message="Unspecified exception", UAPNode *_node=NULL)
 Constructs an UAPNodeException with the specified detail message, and the UAPNode object.
 UAPNodeException (const std::string &_message, UAPNode *_node, const UAPException &_cause)
 Constructs an UAPNodeException with the specified detail message, and the UAPNode object.
 ~UAPNodeException () throw ()
 Destructor.
UAPNodegetNode ()
 Returns the UAPNode where this exception occurred.
std::string toString () const
 Overrides the default toString operator.


Detailed Description

Signals that a node exception of some sort occurred.

See also:
UAPException

Definition at line 159 of file UAPException.hpp.


Constructor & Destructor Documentation

UAPNodeException::UAPNodeException ( const std::string &  _message = "Unspecified exception",
UAPNode _node = NULL 
)

Constructs an UAPNodeException with the specified detail message, and the UAPNode object.

Parameters:
_message the detail message (default: "Unspecified exception")
_node the UAPNode (default: NULL)
See also:
UAPNode

Definition at line 99 of file UAPException.cpp.

UAPNodeException::UAPNodeException ( const std::string &  _message,
UAPNode _node,
const UAPException _cause 
)

Constructs an UAPNodeException with the specified detail message, and the UAPNode object.

Parameters:
_message the detail message
_node the UAPNode
_cause the cause
See also:
UAPNode

Definition at line 102 of file UAPException.cpp.

UAPNodeException::~UAPNodeException (  )  throw ()

Destructor.

Definition at line 105 of file UAPException.cpp.


Member Function Documentation

UAPNode * UAPNodeException::getNode (  ) 

Returns the UAPNode where this exception occurred.

Returns:
NULL or the UAPNode where this exception occurred.
See also:
UAPNode

Definition at line 107 of file UAPException.cpp.

string UAPNodeException::toString (  )  const [virtual]

Overrides the default toString operator.

See also:
UAPException::toString

Reimplemented from UAPException.

Definition at line 112 of file UAPException.cpp.


Generated on Fri Feb 12 15:47:58 2010 for Universal Accelerator Parser by  doxygen 1.5.7