Elements  5.8
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
Elements::OptionException Class Reference

#include <OptionException.h>

Inheritance diagram for Elements::OptionException:
[legend]
Collaboration diagram for Elements::OptionException:
[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...
 
 snprintf (message, len, stringFormat, std::forward< Args >(args)...)
 
virtual ~Exception () noexcept=default
 
const char * what () const noexceptoverride
 
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

- Public Attributes inherited from Elements::Exception
 code
 
char * message = new char[len]
 
 m_error_msg = std::string {message}
 
delete[] message
 
- Protected Attributes inherited from Elements::Exception
std::string m_error_msg {}
 
const ExitCode m_exit_code {ExitCode::NOT_OK}
 

Detailed Description

Definition at line 32 of file OptionException.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file OptionException.h.


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