BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/facilities/facilities-00-00-04/facilities/error.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// error.h,v 1.1.1.1 1994/04/18 18:12:32 burnett Exp
4
//
5
// This file is a part of the MC++ Event Generator Toolkit.
6
// Copyright (C) 1992 Leif L"onnblad, Anders Nilsson, Mike Seymour.
7
//
8
// This file declares some error recovery functions.
9
//
10
11
#ifndef _ERROR_H_
12
#define _ERROR_H_
13
14
15
#include <strstream>
16
17
extern
void
WARNING
(
const
char
*);
18
extern
void
FATAL
(
const
char
*);
19
20
#define FATAL_MACRO(output)\
21
do{std::ostrstream message; \
22
message <<__FILE__<<":"<<__LINE__<<": "<<output<<'\0';\
23
::FATAL(message.str()); }while(0)
24
25
#define WARNING_MACRO(output)\
26
do{std::ostrstream message; \
27
message <<__FILE__<<":"<<__LINE__<<": "<<output<<'\0';\
28
::WARNING(message.str()); message.freeze(false); }while(0)
29
30
31
#endif
// _ERROR_H_
32
FATAL
void FATAL(const char *)
WARNING
@ WARNING
Definition
EvtReport.hh:50
7.1.1
Calibration
facilities
facilities-00-00-04
facilities
error.h
Generated by
1.12.0