Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members

Exception::Exception Class Reference

This class represent the abstract exceptions used on the project. More...

#include <exception.hh>

List of all members.

Public Member Functions

 Exception ()
 Build an exception without file, line and error.

 Exception (const char *file, int line)
 Build an exception with a file and a line you can build this exception with Exception(HERE);.

 Exception (const std::string &err, const char *file, int line)
 Build an exception with a file, line and a error message. You can build this exception with Exception("error msg", HERE);.

const std::string & get_error () const
 get error message if there is one

const char * get_file () const
 get file where exception where launched if there is one

int get_line () const
 get line where exception where launched if there is one

void print (std::ostream &stream) const
 display all content of exception.


Protected Attributes

std::string _error
const char * _file
int _line


Detailed Description

This class represent the abstract exceptions used on the project.

Author:
Julien LEMOINE <speedblue@debian.org>

Definition at line 37 of file exception.hh.


The documentation for this class was generated from the following files:
Generated on Tue Jul 29 15:39:09 2003 for libdatamining by doxygen 1.3.2