OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
BetError.cpp
Go to the documentation of this file.
1 /* error.C
2  error handling
3 
4  Project: Beam Envelope Tracker (BET)
5 
6  Revision history
7  Date Description Programmer
8  ------------ -------------------------------------------- --------------
9  07-03-06 Created Rene Bakker
10 
11  Last Revision:
12  $Id: error.C 91 2007-05-06 17:47:45Z bakker $
13 */
14 
15 #include <stdlib.h>
16 #include <string.h>
17 #include <stdio.h>
18 #include <stdarg.h>
19 #include <errno.h>
20 
22 
23 
24 void initBetErrorMsg(int level, const char *fbase) {
25  printf("\n\n error.cpp: initErrorMesg \n\n");
26 } /* initErrorMsg() */
27 
28 void initBetErrorFilename(const char *fbase) {
29  printf("\n\n error.cpp: initErrorFilename \n\n");
30 } /* initErrorFileName() */
31 
32 void setBetReportLevel(int level) {
33  printf("\n\n error.cpp: setReportLevel \n\n");
34 }
35 
36 void writeBetError(std::string err) {
37  std::cout << "\n\n error.cpp: writeError: " << err << " \n\n" << std::endl;
38 }
39 
void writeBetError(std::string err)
Definition: BetError.cpp:36
void setBetReportLevel(int level)
Definition: BetError.cpp:32
void initBetErrorMsg(int level, const char *fbase)
Definition: BetError.cpp:24
void initBetErrorFilename(const char *fbase)
Definition: BetError.cpp:28
Inform & endl(Inform &inf)
Definition: Inform.cpp:42