The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::serialization::checkpoint::CheckpointError Class Reference

Indicates that there was an issue operating on checkpoints within the SPARTA framework. More...

#include <CheckpointExceptions.hpp>

Inheritance diagram for sparta::serialization::checkpoint::CheckpointError:
Collaboration diagram for sparta::serialization::checkpoint::CheckpointError:

Public Member Functions

 CheckpointError (const std::string &why)
 
- 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

Indicates that there was an issue operating on checkpoints within the SPARTA framework.

This is intended to communicate to a (typically external) client of the framework that a problem ocurred with checkpointing.

Definition at line 21 of file CheckpointExceptions.hpp.

Constructor & Destructor Documentation

◆ CheckpointError() [1/2]

sparta::serialization::checkpoint::CheckpointError::CheckpointError ( )
inline

Definition at line 24 of file CheckpointExceptions.hpp.

◆ CheckpointError() [2/2]

sparta::serialization::checkpoint::CheckpointError::CheckpointError ( const std::string &  why)
inline

Definition at line 28 of file CheckpointExceptions.hpp.


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