Elements  6.2
A C++ base framework for the Euclid Software.
Public Member Functions | List of all members
Elements::OptionException Class Reference

#include <OptionException.h>

Inheritance diagram for Elements::OptionException:
Inheritance graph
[legend]
Collaboration diagram for Elements::OptionException:
Collaboration graph
[legend]

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 *stringFormat, Args &&... args)
 Constructs a new Exception with a message using format specifiers. More...
 
virtual ~Exception () noexcept=default
 
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. More...
 
- 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.

References Elements::USAGE.


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