Alida-C++ 0.1

Alida::ALDException Class Reference

Class for exceptions in Alida. More...

#include <ALDException.h>

Inheritance diagram for Alida::ALDException:
Collaboration diagram for Alida::ALDException:

List of all members.

Public Member Functions

 ALDException (std::string c, std::string f, std::string e)
 Default constructor.
virtual ~ALDException () throw ()
 Default destructor.
void printMsg ()
 Prints exception message to standard out.

Protected Attributes

const std::string className
 Name of class throwing the exception.
const std::string function
 Method inside class throwing the exception.
const std::string errorMsg
 Actual error message.

Detailed Description

Class for exceptions in Alida.

Definition at line 17 of file ALDException.h.


Constructor & Destructor Documentation

Alida::ALDException::ALDException ( std::string  c,
std::string  f,
std::string  e 
) [inline]

Default constructor.

Definition at line 33 of file ALDException.h.

virtual Alida::ALDException::~ALDException ( ) throw () [inline, virtual]

Default destructor.

Definition at line 40 of file ALDException.h.


Member Function Documentation

void Alida::ALDException::printMsg ( ) [inline]

Prints exception message to standard out.

Definition at line 43 of file ALDException.h.

References className, errorMsg, and function.

Referenced by main().


Member Data Documentation

const std::string Alida::ALDException::className [protected]

Name of class throwing the exception.

Definition at line 22 of file ALDException.h.

Referenced by printMsg().

const std::string Alida::ALDException::errorMsg [protected]

Actual error message.

Definition at line 28 of file ALDException.h.

Referenced by printMsg().

const std::string Alida::ALDException::function [protected]

Method inside class throwing the exception.

Definition at line 25 of file ALDException.h.

Referenced by printMsg().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines