FACT++  1.0
void fits::Exception ( const std::string &  txt)
inline

Definition at line 484 of file fits.h.

References ___err___, and gLog.

485  {
486 #ifdef __EXCEPTIONS
487  if (exceptions()&throwbit)
488  throw std::runtime_error(txt);
489 #endif
490  gLog << ___err___ << "ERROR - " << txt << std::endl;
491  }
#define gLog
Definition: fits.h:36
#define ___err___
Definition: fits.h:37