35void G4Exception(
const char* originOfException, 
const char* exceptionCode,
 
   41  if(exceptionHandler != 
nullptr)
 
   43    toBeAborted = exceptionHandler->
Notify(originOfException, exceptionCode,
 
   44                                           severity, description);
 
   52    std::ostringstream message;
 
   53    message << 
"\n*** ExceptionHandler is not defined ***\n" 
   54            << 
"*** G4Exception : " << exceptionCode << 
G4endl 
   55            << 
"      issued by : " << originOfException << 
G4endl 
   60        G4cerr << es_banner << message.str() << 
"*** Fatal Exception ***" 
   64        G4cerr << es_banner << message.str()
 
   65               << 
"*** Fatal Error In Argument ***" << ee_banner << 
G4endl;
 
   68        G4cerr << es_banner << message.str() << 
"*** Run Must Be Aborted ***" 
   72        G4cerr << es_banner << message.str() << 
"*** Event Must Be Aborted ***" 
   76        G4cout << ws_banner << message.str()
 
   77               << 
"*** This is just a warning message. ***" << we_banner
 
   93             << 
"*** No guarantee for further execution ***" << 
G4endl;
 
   99void G4Exception(
const char* originOfException, 
const char* exceptionCode,
 
  104  G4Exception(originOfException, exceptionCode, severity, des.c_str());
 
  108void G4Exception(
const char* originOfException, 
const char* exceptionCode,
 
  112  description << comments << 
G4endl;
 
  113  G4Exception(originOfException, exceptionCode, severity, description);
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
const G4String G4ExceptionErrBannerEnd()
const G4String G4ExceptionErrBannerStart()
const G4String G4ExceptionWarnBannerEnd()
const G4String G4ExceptionWarnBannerStart()
std::ostringstream G4ExceptionDescription
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
G4VExceptionHandler * GetExceptionHandler() const
static G4StateManager * GetStateManager()
virtual G4bool Notify(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)=0