Elements 6.3.1
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Elements::OptionException Class Reference

#include <OptionException.h>

Inheritance diagram for Elements::OptionException:
Collaboration diagram for Elements::OptionException:

Public Member Functions

 OptionException (const std::string &message="")
 
- Public Member Functions inherited from Elements::Exception
 Exception (ExitCode e=ExitCode::NOT_OK)
 
 Exception (const char *message, ExitCode e=ExitCode::NOT_OK)
 
 Exception (const std::string &message, ExitCode e=ExitCode::NOT_OK)
 
template<typename... Args>
 Exception (const char *string_format, Args &&... args)
 Constructs a new Exception with a message using format specifiers.
 
 Exception (const Exception &rhs)=default
 
virtual ~Exception () noexcept
 
const char * what () const noexcept override
 
ExitCode exitCode () const noexcept
 
template<typename T >
void appendMessage (const T &message)
 Appends in the end of the exception message the parameter.
 
- Public Member Functions inherited from std::exception
what (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
exception (T... args)
 

Additional Inherited Members

- Protected Attributes inherited from Elements::Exception
std::string m_error_msg {}
 
const ExitCode m_exit_code {ExitCode::NOT_OK}
 

Detailed Description

Definition at line 30 of file OptionException.h.

Constructor & Destructor Documentation

◆ OptionException()

Elements::OptionException::OptionException ( const std::string & message = "")
inlineexplicit

Definition at line 33 of file OptionException.h.


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