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

Format error exception. More...

#include <FormatError.h>

Inheritance diagram for FormatError:
Inheritance graph
Collaboration diagram for FormatError:
Collaboration graph

Public Member Functions

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

 FormatError ()
 

Detailed Description

Format error exception.

Definition at line 32 of file FormatError.h.

Constructor & Destructor Documentation

◆ FormatError() [1/3]

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

The usual constructor.

Definition at line 29 of file FormatError.cpp.

◆ FormatError() [2/3]

FormatError::FormatError ( const FormatError rhs)

Definition at line 34 of file FormatError.cpp.

◆ ~FormatError()

FormatError::~FormatError ( )
virtual

Definition at line 39 of file FormatError.cpp.

◆ FormatError() [3/3]

FormatError::FormatError ( )
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: