HE::HE_exception Class Reference

Exception class thrown whenever needed in a class or function within the HE namespace. More...

#include <util.h>

List of all members.

Public Member Functions

 HE_exception (const char *msg)
 Constructor.
 HE_exception (const char *msg, const char *msg2)
 Constructor.
virtual ~HE_exception () throw ()
 Destructor.
virtual const char * what () const throw ()
 Returns a string with information about the exception.

Protected Attributes

std::string _msg


Detailed Description

Exception class thrown whenever needed in a class or function within the HE namespace.

Definition at line 36 of file util.h.


Constructor & Destructor Documentation

HE::HE_exception::HE_exception ( const char *  msg  )  [inline]

Constructor.

Parameters:
msg Message to be shown when what() is invoked. It should inform about the cause of the exception.
See also:
what

Definition at line 44 of file util.h.

HE::HE_exception::HE_exception ( const char *  msg,
const char *  msg2 
) [inline]

Constructor.

Parameters:
msg Message to be shown when what() is invoked. It should inform about the cause of the exception.
msg2 Message to be shown when what() is invoked. It should complement the information in msg.
See also:
what

Definition at line 52 of file util.h.


Member Function Documentation

virtual const char* HE::HE_exception::what (  )  const throw () [inline, virtual]

Returns a string with information about the exception.

Returns:
The string with information about the exception.

Definition at line 63 of file util.h.

References _msg.


The documentation for this class was generated from the following file:
Generated on Wed Apr 9 19:22:40 2008 for HalfEdge library by  doxygen 1.5.3