Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -23,24 +23,21 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// G4Exception
|
||||
//
|
||||
// Global error function prints string to G4cerr (or G4cout in case of
|
||||
// warning). May abort program according to severity.
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
// Authors: G.Cosmo, M.Asai - May 1999 - First implementation
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4EXCEPTION_HH
|
||||
#define G4EXCEPTION_HH
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "G4String.hh"
|
||||
#include "G4VExceptionHandler.hh"
|
||||
#include "G4ios.hh"
|
||||
|
||||
typedef std::ostringstream G4ExceptionDescription;
|
||||
using G4ExceptionDescription = std::ostringstream;
|
||||
|
||||
inline const G4String G4ExceptionErrBannerStart()
|
||||
{
|
||||
@@ -61,19 +58,16 @@ inline const G4String G4ExceptionWarnBannerEnd()
|
||||
}
|
||||
|
||||
extern void G4Exception(const char* originOfException,
|
||||
const char* exceptionCode,
|
||||
G4ExceptionSeverity severity,
|
||||
const char* exceptionCode, G4ExceptionSeverity severity,
|
||||
const char* description);
|
||||
|
||||
extern void G4Exception(const char* originOfException,
|
||||
const char* exceptionCode,
|
||||
G4ExceptionSeverity severity,
|
||||
G4ExceptionDescription & description);
|
||||
const char* exceptionCode, G4ExceptionSeverity severity,
|
||||
G4ExceptionDescription& description);
|
||||
|
||||
extern void G4Exception(const char* originOfException,
|
||||
const char* exceptionCode,
|
||||
G4ExceptionSeverity severity,
|
||||
G4ExceptionDescription & description,
|
||||
const char* exceptionCode, G4ExceptionSeverity severity,
|
||||
G4ExceptionDescription& description,
|
||||
const char* comments);
|
||||
|
||||
#endif /* G4EXCEPTION_HH */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user