OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
OpalException Class Reference

The base class for all OPAL exceptions. More...

#include <OpalException.h>

Inheritance diagram for OpalException:
Collaboration diagram for OpalException:

Public Member Functions

 OpalException (const std::string &meth, const std::string &msg)
 The usual constructor.
 OpalException (const OpalException &)
virtual ~OpalException ()
virtual const std::string & what () const
 Return the message string for the exception.
virtual const std::string & where () const
 Return the name of the method or function which detected the exception.

Protected Attributes

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

Private Member Functions

 OpalException ()

Detailed Description

The base class for all OPAL exceptions.

Definition at line 28 of file OpalException.h.

Constructor & Destructor Documentation

◆ OpalException() [1/3]

OpalException::OpalException ( const std::string & meth,
const std::string & msg )
explicit

The usual constructor.

Definition at line 25 of file OpalException.cpp.

References ClassicException::ClassicException().

Referenced by OpalException(), IndexMap::OutOfBounds::OutOfBounds(), and IndexMap::OutOfBounds::OutOfBounds().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OpalException() [2/3]

OpalException::OpalException ( const OpalException & rhs)

Definition at line 30 of file OpalException.cpp.

References ClassicException::ClassicException(), and OpalException().

Here is the call graph for this function:

◆ ~OpalException()

OpalException::~OpalException ( )
virtual

Definition at line 35 of file OpalException.cpp.

◆ OpalException() [3/3]

OpalException::OpalException ( )
private

Member Function Documentation

◆ what()

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

Return the message string for the exception.

Reimplemented from ClassicException.

Definition at line 34 of file ClassicException.cpp.

Referenced by Expressions::ADeferred< T >::evaluate(), and Expressions::SDeferred< T >::evaluate().

Here is the caller graph for this function:

◆ where()

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

Return the name of the method or function which detected the exception.

Reimplemented from ClassicException.

Definition at line 37 of file ClassicException.cpp.

Referenced by Expressions::ADeferred< T >::evaluate(), and Expressions::SDeferred< T >::evaluate().

Here is the caller graph for this function:

Member Data Documentation

◆ message

const std::string ClassicException::message
protectedinherited

Definition at line 60 of file ClassicException.h.

Referenced by ClassicException(), what(), and EarlyLeaveException::what().

◆ method

const std::string ClassicException::method
protectedinherited

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