31 : theMessage{mess}, theName{in}, theLine{at} {
33 std::ostringstream os;
39 if (std::getenv(
"DumpCoreOnHadronicException")) {
41 "Fatal problem in above location");
53 aS <<
"In " <<
theName <<
", line " <<
theLine <<
": " << std::endl;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
void Report(std::ostream &aS) const
const G4String theMessage
G4HadronicException(G4String in, G4int at, G4String mess)
const char * what() const noexcept override
virtual ~G4HadronicException()