Main Page   Class Hierarchy   Compound List   Compound Members  

SCOREC_UnitSystem::UnitException Class Reference

#include <UnitException.h>

Inheritance diagram for SCOREC_UnitSystem::UnitException::

List of all members.

Public Methods

 UnitException (const char *w, int l)
 Construct by giving the filename and the line where the exceptions occured.

virtual const char* what () const
 return the reason for throwing an exception. Derived classes should overwrite it to give it some meaning.

const char* where () const
 The file in which the exception was thrown.

int Line () const
 The line in the file where the exeption was thrown.

virtual ~UnitException ()

Detailed Description

Base class from which all exceptions thrown in this libary are derived. Minimum input is the File where the exception is thrown (__FILE__) and the corresponding line (__LINE__)


The documentation for this class was generated from the following files:
Generated at Mon Jul 23 09:36:17 2001 for SCOREC_UnitSystem by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001