OpenWalnut  1.3.1
Public Member Functions | List of all members
WDHParseError Class Reference

Use this for IO error handling. More...

#include <WDHParseError.h>

+ Inheritance diagram for WDHParseError:

Public Member Functions

 WDHParseError (const std::string &msg="DataHandler Exception: Parsing error occured.")
 Default constructor.
virtual ~WDHParseError () throw ()
 Destructor.
- Public Member Functions inherited from WDHException
 WDHException (const std::string &msg="DataHandler Exception")
 Default constructor.
virtual ~WDHException () throw ()
 Destructor.
- Public Member Functions inherited from WException
 WException (const std::string &msg=std::string())
 Default constructor.
 WException (const std::exception &e)
 Copy a std::exception and encapsulate it.
virtual ~WException () throw ()
 Destructor.
virtual const char * what () const throw ()
 Returns the message string set on throw.
std::string getTrace () const
 Prints the trace of the call chain which caused this exception.
std::string getBacktrace () const
 Returns a call stacktrace.

Additional Inherited Members

- Static Public Member Functions inherited from WException
static void disableBacktrace ()
 Function disables backtraces.
- Protected Attributes inherited from WException
std::string m_msg
 Message given during throw.
std::list< std::string > m_trace
 Stack trace for identifying the source where this exception came from.
- Static Protected Attributes inherited from WException
static bool noBacktrace = false
 True if the backtrace should NOT be printed.

Detailed Description

Use this for IO error handling.

Definition at line 37 of file WDHParseError.h.

Constructor & Destructor Documentation

WDHParseError::WDHParseError ( const std::string &  msg = "DataHandler Exception: Parsing error occured.")
explicit

Default constructor.

Parameters
msgthe exception message.

Definition at line 30 of file WDHParseError.cpp.

WDHParseError::~WDHParseError ( ) throw ()
virtual

Destructor.

Definition at line 36 of file WDHParseError.cpp.


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