InstantIO::Exception Class Reference

Base class of all exceptions thrown by the InstantIO library. More...

#include <InstantIO/Exception.h>

Inheritance diagram for InstantIO::Exception:
InstantIO::InterruptedException InstantIO::InvalidFieldException InstantIO::InvalidNamespaceException InstantIO::InvalidNodeException InstantIO::InvalidValueException InstantIO::ParseException

List of all members.

Public Member Functions

 Exception ()
 Creates a new Exception object with an empty error message.
 Exception (const std::string &msg)
 Creates a new Exception object with an error message.
 Exception (const Exception &other)
 Creates a new Exception object that is an exact copy of another Exception object.
const char * what () const
 Returns an error message describing the error that occurred.

Protected Attributes

std::string msg_
 The error message.

Detailed Description

Base class of all exceptions thrown by the InstantIO library.

Author:
Patrick Dähne

Constructor & Destructor Documentation

InstantIO::Exception::Exception ( const std::string &  msg  )  [inline, explicit]

Creates a new Exception object with an error message.

Parameters:
msg A message describing the error that occurred.
InstantIO::Exception::Exception ( const Exception other  )  [inline]

Creates a new Exception object that is an exact copy of another Exception object.

Parameters:
other The other Exception object

Member Function Documentation

const char* InstantIO::Exception::what (  )  const [inline]

Returns an error message describing the error that occurred.

Returns:
The error message.

The documentation for this class was generated from the following file:
Generated on Thu Jul 31 17:17:32 2014 by  doxygen 1.6.3