The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::utils::Enum< EnumType >::UnknownNameException Class Reference
Inheritance diagram for sparta::utils::Enum< EnumType >::UnknownNameException:
Collaboration diagram for sparta::utils::Enum< EnumType >::UnknownNameException:

Public Member Functions

 UnknownNameException (const std::string &reason)
 
- 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

template<class EnumType>
class sparta::utils::Enum< EnumType >::UnknownNameException

Definition at line 38 of file Enum.hpp.

Constructor & Destructor Documentation

◆ UnknownNameException() [1/2]

template<class EnumType >
sparta::utils::Enum< EnumType >::UnknownNameException::UnknownNameException ( )
inline

Definition at line 41 of file Enum.hpp.

◆ UnknownNameException() [2/2]

template<class EnumType >
sparta::utils::Enum< EnumType >::UnknownNameException::UnknownNameException ( const std::string &  reason)
inline

Definition at line 45 of file Enum.hpp.


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