OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
DomainError Class Reference

Domain error exception. More...

#include <DomainError.h>

Inheritance diagram for DomainError:
Inheritance graph
Collaboration diagram for DomainError:
Collaboration graph

Public Member Functions

 DomainError (const std::string &meth)
 The usual constructor. More...
 
 DomainError (const DomainError &)
 
virtual ~DomainError ()
 
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 Attributes

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

Private Member Functions

 DomainError ()
 

Detailed Description

Domain error exception.

Definition at line 32 of file DomainError.h.

Constructor & Destructor Documentation

◆ DomainError() [1/3]

DomainError::DomainError ( const std::string &  meth)

The usual constructor.

Definition at line 28 of file DomainError.cpp.

◆ DomainError() [2/3]

DomainError::DomainError ( const DomainError rhs)

Definition at line 33 of file DomainError.cpp.

◆ ~DomainError()

DomainError::~DomainError ( )
virtual

Definition at line 38 of file DomainError.cpp.

◆ DomainError() [3/3]

DomainError::DomainError ( )
private

Member Function Documentation

◆ what()

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

Return the message string for the exception.

Reimplemented in EarlyLeaveException, and OpalException.

Definition at line 42 of file ClassicException.cpp.

References ClassicException::message.

Referenced by OpalParser::readStatement(), and OpalParser::run().

◆ where()

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

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

Reimplemented in EarlyLeaveException, and OpalException.

Definition at line 47 of file ClassicException.cpp.

References ClassicException::method.

Referenced by OpalParser::run().

Member Data Documentation

◆ message

const std::string ClassicException::message
protectedinherited

Definition at line 60 of file ClassicException.h.

Referenced by ClassicException::what().

◆ method

const std::string ClassicException::method
protectedinherited

Definition at line 61 of file ClassicException.h.

Referenced by ClassicException::where().


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