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

#include <EarlyLeaveException.h>

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

Public Member Functions

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

 EarlyLeaveException ()=delete
 

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

This exception class is used to inentionally exit OPAL when no error occurred.

Definition at line 21 of file EarlyLeaveException.h.

Constructor & Destructor Documentation

◆ EarlyLeaveException() [1/3]

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

The usual constructor.

Parameters
[in]meththe name of the method or function detecting the exception
[in]msgthe message string identifying the exception

Definition at line 14 of file EarlyLeaveException.cpp.

◆ EarlyLeaveException() [2/3]

EarlyLeaveException::EarlyLeaveException ( const EarlyLeaveException rhs)

Definition at line 19 of file EarlyLeaveException.cpp.

◆ ~EarlyLeaveException()

EarlyLeaveException::~EarlyLeaveException ( )
virtual

Definition at line 24 of file EarlyLeaveException.cpp.

◆ EarlyLeaveException() [3/3]

EarlyLeaveException::EarlyLeaveException ( )
privatedelete

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 opalMain().

◆ 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 opalMain().


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