Main Page
Namespaces
Classes
Package Documentation
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
public
:
15
SimG4Exception
(
const
std::string
& message) :
error_
(message) {}
16
~SimG4Exception
()
throw
()
override
{}
17
const
char
*
what
()
const
throw
()
override
{
return
error_
.c_str(); }
18
19
private
:
20
std::string
error_
;
21
};
22
23
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SimG4Exception::SimG4Exception
SimG4Exception(const std::string &message)
Definition:
SimG4Exception.h:15
cppFunctionSkipper.exception
exception
Definition:
cppFunctionSkipper.py:10
SimG4Exception::what
const char * what() const override
Definition:
SimG4Exception.h:17
ALCARECOPromptCalibProdSiPixelAli0T_cff.throw
throw
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:9
SimG4Exception
Definition:
SimG4Exception.h:13
SimG4Exception::~SimG4Exception
~SimG4Exception() override
Definition:
SimG4Exception.h:16
SimG4Exception::error_
std::string error_
Definition:
SimG4Exception.h:20
Generated for CMSSW Reference Manual by
1.8.11