37#ifndef G4ExceptionHandler_hh
38#define G4ExceptionHandler_hh 1
43#include <unordered_map>
61 G4bool Notify(
const char* originOfException,
const char* exceptionCode,
66 { fTotalWarnCount = mx; }
68 { fWarnCount[errCode] = mx; }
72 G4bool IfPrint(
const char* errCode);
77 std::unordered_map<std::string,G4int> fWarnCount;
void SetMaxTotalWarning(G4int mx)
G4bool operator==(const G4ExceptionHandler &right) const
G4bool operator!=(const G4ExceptionHandler &right) const
G4bool Notify(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description) override
void SetMaxWarning(const char *errCode, G4int mx)
G4ExceptionHandler & operator=(const G4ExceptionHandler &)=delete
G4ExceptionHandler(const G4ExceptionHandler &)=delete
~G4ExceptionHandler() override