Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4Core
Notification
interface
SimG4Exception.h
Go to the documentation of this file.
1
#ifndef SimG4Core_SimG4Exception_H
2
#define SimG4Core_SimG4Exception_H
3
4
#include <exception>
5
#include <string>
6
13
class
SimG4Exception
:
public
std::exception
14
{
15
public
:
16
SimG4Exception
(
const
std::string &
message
) :
error_
(message) {}
17
virtual
~SimG4Exception
()
throw
() {}
18
virtual
const
char
*
what
()
const
throw
() {
return
error_
.c_str(); }
19
private
:
20
std::string
error_
;
21
};
22
23
#endif
SimG4Exception::~SimG4Exception
virtual ~SimG4Exception()
Definition:
SimG4Exception.h:17
SimG4Exception::SimG4Exception
SimG4Exception(const std::string &message)
Definition:
SimG4Exception.h:16
cppFunctionSkipper.exception
string exception
Definition:
cppFunctionSkipper.py:8
SimG4Exception::what
virtual const char * what() const
Definition:
SimG4Exception.h:18
SimG4Exception
Definition:
SimG4Exception.h:13
SimG4Exception::error_
std::string error_
Definition:
SimG4Exception.h:20
python.rootplot.argparse.message
string message
Definition:
argparse.py:130
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5