The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::FutureStatisticRange Class Reference

Exception indicating that the range of a StatisticInstance starts or ends in the future (probably caused by to checkpointing) More...

#include <StatisticInstance.hpp>

Inheritance diagram for sparta::FutureStatisticRange:
Collaboration diagram for sparta::FutureStatisticRange:

Public Member Functions

 FutureStatisticRange (const std::string &reason)
 Construct with a default string.
 
virtual ~FutureStatisticRange () noexcept
 Destructor.
 
- Public Member Functions inherited from sparta::SpartaException
 SpartaException ()
 Construct a SpartaException object with empty reason.
 
 SpartaException (const std::string &reason)
 Construct a SpartaException object.
 
 SpartaException (const SpartaException &orig)
 Copy construct a SpartaException object.
 
virtual ~SpartaException () noexcept
 Destroy!
 
const char * what () const noexcept
 Overload from std::exception.
 
std::string backtrace () const noexcept
 Returns the backtrace at the time this exception was generated.
 
std::string rawReason () const
 Return the raw reason without file, line information.
 
template<class T >
SpartaExceptionoperator<< (const T &msg)
 Append additional information to the message.
 

Detailed Description

Exception indicating that the range of a StatisticInstance starts or ends in the future (probably caused by to checkpointing)

Definition at line 61 of file StatisticInstance.hpp.

Constructor & Destructor Documentation

◆ FutureStatisticRange()

sparta::FutureStatisticRange::FutureStatisticRange ( const std::string &  reason)
inlineexplicit

Construct with a default string.

Note
Stream insertion operator can be used to add more text to the reason.

Definition at line 70 of file StatisticInstance.hpp.

◆ ~FutureStatisticRange()

virtual sparta::FutureStatisticRange::~FutureStatisticRange ( )
inlinevirtualnoexcept

Destructor.

Definition at line 77 of file StatisticInstance.hpp.


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