Elements
5.8
A C++ base framework for the Euclid Software.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
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::USAGE
command line usage error
Elements::OptionException::OptionException
OptionException(const std::string &message="")
Definition:
OptionException.h:35
Elements::ExitCode
ExitCode
Strongly typed exit numbers.
Definition:
Exit.h:97
Elements::Exception
Definition:
Exception.h:41
Elements::OptionException
Definition:
OptionException.h:32
Exception.h
defines the base Elements exception class
Elements::Exception::message
char * message
Definition:
Exception.h:83
Generated by
1.8.5