PEARL
Parallel Event Access and Replay Library
Protected Attributes | List of all members
pearl::Error Class Reference

Base class for exceptions related to the PEARL library. More...

#include <pearl/Error.h>

Inheritance diagram for pearl::Error:
pearl::FatalError pearl::RuntimeError

Public Member Functions

Constructors & destructor
 Error (const std::string &message)
 
virtual ~Error () throw ()
 
Get error message
virtual const char * what () const throw ()
 

Protected Attributes

std::string m_message
 Error message More...
 

Detailed Description

The class Error serves as a base class for all exceptions related to the PEARL library. It provides a method to obtain an error message, which in most cases will deliver the name of the internal operation that failed.

Constructor & Destructor Documentation

◆ Error()

pearl::Error::Error ( const std::string &  message)

◆ ~Error()

virtual pearl::Error::~Error ( )
throw (
)
virtual

Member Function Documentation

◆ what()

virtual const char* pearl::Error::what ( ) const
throw (
)
virtual

Member Data Documentation

◆ m_message

std::string pearl::Error::m_message
protected

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

Scalasca    Copyright © 1998–2019 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming