Elements
5.8
A C++ base framework for the Euclid Software.
ElementsKernel
src
Lib
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
28
#include "
ElementsKernel/Exception.h
"
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:97
Exception.h
defines the base Elements exception class
Elements::ExitCode::USAGE
@ USAGE
command line usage error
Elements::OptionException
Definition:
OptionException.h:32
Elements::Exception
Definition:
Exception.h:41
Elements::OptionException::OptionException
OptionException(const std::string &message="")
Definition:
OptionException.h:35
Elements
Definition:
Auxiliary.h:43
Generated by
1.8.17