OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Private Member Functions | List of all members
OpalException Class Reference

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

#include <OpalException.h>

Inheritance diagram for OpalException:
Inheritance graph
[legend]
Collaboration diagram for OpalException:
Collaboration graph
[legend]

Public Member Functions

 OpalException (const std::string &meth, const std::string &msg)
 The usual constructor. More...
 
 OpalException (const OpalException &)
 
virtual ~OpalException ()
 
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...
 
- Public Member Functions inherited from ClassicException
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...
 

Private Member Functions

 OpalException ()
 

Additional Inherited Members

- Protected Member Functions inherited from ClassicException
 ClassicException (const std::string &meth, const std::string &msg)
 The usual constructor. More...
 
 ClassicException (const ClassicException &)
 
virtual ~ClassicException ()
 
 ClassicException ()
 
- Protected Attributes inherited from ClassicException
const std::string message
 
const std::string method
 

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.

◆ OpalException() [2/3]

OpalException::OpalException ( const OpalException rhs)

Definition at line 30 of file OpalException.cpp.

◆ ~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

◆ where()

const std::string & ClassicException::where

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