GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSMisc Namespace Reference

namespace storing miscellaneous functions More...

Functions

void ThrowException (std::string const &class_name, std::string const &method_name, std::string const &message)
 Throw a C++ exception. More...
 

Detailed Description

namespace storing miscellaneous functions

Function Documentation

◆ ThrowException()

void GGEMSMisc::ThrowException ( std::string const &  class_name,
std::string const &  method_name,
std::string const &  message 
)

Throw a C++ exception.

Parameters
class_name- Name of the class
method_name- Name of the methode or function
message- Message to print for the exception

Definition at line 61 of file GGEMSTools.cc.