Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ppfx
include
Exceptions.h
Go to the documentation of this file.
1
#ifndef EXCEPTIONS_H
2
#define EXCEPTIONS_H
3
4
#include <iostream>
5
#include <exception>
6
#include <string>
7
8
struct
NoParameterFound
:
public
std::exception
{
9
10
NoParameterFound
(
const
std::string
&
name
)
11
{
12
m_error
=
std::string
(
"Parameter not defined: "
)+
name
;
13
}
14
15
virtual
~NoParameterFound
() throw() {}
16
17
virtual
const
char
*
what
()
const
throw(){
18
return
m_error
.c_str();
19
}
20
21
std::string
m_error
;
22
};
23
24
#endif
name
static QCString name
Definition:
declinfo.cpp:673
string
std::string string
Definition:
nybbler.cc:12
NoParameterFound
Definition:
Exceptions.h:8
NoParameterFound::what
virtual const char * what() const
Definition:
Exceptions.h:17
NoParameterFound::~NoParameterFound
virtual ~NoParameterFound()
Definition:
Exceptions.h:15
NoParameterFound::m_error
std::string m_error
Definition:
Exceptions.h:21
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
NoParameterFound::NoParameterFound
NoParameterFound(const std::string &name)
Definition:
Exceptions.h:10
Generated by
1.8.11