OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ClassicException Class Reference

The abstract base class for all exceptions in CLASSIC. More...

#include <ClassicException.h>

Inheritance diagram for ClassicException:
Inheritance graph
[legend]

Public Member Functions

virtual const std::string & what () const
 Return the message string for the exception. More...
 
virtual const std::string & where () const
 Return the name of the method or function which detected the exception. More...
 

Protected Member Functions

 ClassicException (const std::string &meth, const std::string &msg)
 The usual constructor. More...
 
 ClassicException (const ClassicException &)
 
virtual ~ClassicException ()
 
 ClassicException ()
 

Protected Attributes

const std::string message
 
const std::string method
 

Detailed Description

The abstract base class for all exceptions in CLASSIC.

Definition at line 29 of file ClassicException.h.

Constructor & Destructor Documentation

ClassicException::ClassicException ( const std::string &  meth,
const std::string &  msg 
)
protected

The usual constructor.

Definition at line 28 of file ClassicException.cpp.

ClassicException::ClassicException ( const ClassicException rhs)
protected

Definition at line 33 of file ClassicException.cpp.

ClassicException::~ClassicException ( )
protectedvirtual

Definition at line 38 of file ClassicException.cpp.

ClassicException::ClassicException ( )
protected

Member Function Documentation

const std::string & ClassicException::what ( ) const
virtual
const std::string & ClassicException::where ( ) const
virtual

Member Data Documentation

const std::string ClassicException::message
protected

Definition at line 60 of file ClassicException.h.

Referenced by what().

const std::string ClassicException::method
protected

Definition at line 61 of file ClassicException.h.

Referenced by where().


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