Elements  5.12
A C++ base framework for the Euclid Software.
OptionException.h
Go to the documentation of this file.
1 
23 #ifndef ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
24 #define ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
25 
26 #include <string>
27 
29 
30 namespace Elements {
31 
32 class OptionException : public Exception {
33 
34 public:
35  explicit OptionException(const std::string& message = "") : Exception(message, Elements::ExitCode::USAGE) {
36  }
37 
38 };
39 
40 } // namespace Elements
41 
42 #endif // ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
std::string
STL class.
Elements::ExitCode
ExitCode
Strongly typed exit numbers.
Definition: Exit.h:98
Exception.h
defines the base Elements exception class
Elements::OptionException
Definition: OptionException.h:32
Elements::Exception
Elements base exception class.
Definition: Exception.h:46
Elements::OptionException::OptionException
OptionException(const std::string &message="")
Definition: OptionException.h:35
Elements
Definition: Auxiliary.h:43