Elements
6.2
A C++ base framework for the Euclid Software.
ElementsKernel
src
Lib
OptionException.h
Go to the documentation of this file.
1
21
#ifndef ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
22
#define ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
23
24
#include <string>
25
26
#include "
ElementsKernel/Exception.h
"
27
28
namespace
Elements
{
29
30
class
OptionException
:
public
Exception
{
31
32
public
:
33
explicit
OptionException
(
const
std::string
& message =
""
) :
Exception
(message,
Elements
::
ExitCode
::
USAGE
) {}
34
};
35
36
}
// namespace Elements
37
38
#endif // ELEMENTSKERNEL_SRC_LIB_OPTIONEXCEPTION_H_
std::string
STL class.
Elements::ExitCode
ExitCode
Strongly typed exit numbers.
Definition:
Exit.h:97
Elements::ExitCode::USAGE
@ USAGE
command line usage error
Exception.h
defines the base Elements exception class
Elements::OptionException
Definition:
OptionException.h:30
Elements::Exception
Elements base exception class.
Definition:
Exception.h:47
Elements::OptionException::OptionException
OptionException(const std::string &message="")
Definition:
OptionException.h:33
Elements
Definition:
callBackExample.h:35
Generated by
1.8.17