Elements  5.8
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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_
STL class.
command line usage error
OptionException(const std::string &message="")
ExitCode
Strongly typed exit numbers.
Definition: Exit.h:97
defines the base Elements exception class