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

Range error. More...

#include <CLRangeError.h>

Inheritance diagram for CLRangeError:
Collaboration diagram for CLRangeError:

Public Member Functions

 CLRangeError (const std::string &meth, const std::string &msg)
 The usual constructor.
 CLRangeError (const CLRangeError &)
virtual ~CLRangeError ()
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

 CLRangeError ()

Detailed Description

Range error.

Definition at line 33 of file CLRangeError.h.

Constructor & Destructor Documentation

◆ CLRangeError() [1/3]

CLRangeError::CLRangeError ( const std::string & meth,
const std::string & msg )

The usual constructor.

Definition at line 28 of file CLRangeError.cpp.

References ArithmeticError::ArithmeticError().

Referenced by CLRangeError().

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

◆ CLRangeError() [2/3]

CLRangeError::CLRangeError ( const CLRangeError & rhs)

Definition at line 33 of file CLRangeError.cpp.

References ArithmeticError::ArithmeticError(), and CLRangeError().

Here is the call graph for this function:

◆ ~CLRangeError()

CLRangeError::~CLRangeError ( )
virtual

Definition at line 38 of file CLRangeError.cpp.

◆ CLRangeError() [3/3]

CLRangeError::CLRangeError ( )
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 message.

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

Here is the caller graph for this function:

◆ 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 method.

Referenced by OpalParser::run().

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: