lemAutoRun  1.0
PValidateErrorHandler.cpp
Go to the documentation of this file.
1 /********************************************************************************************
2 
3  PValidateErrorHandler.cpp
4 
5 *********************************************************************************************
6 
7  begin : Andreas Suter, 2007/04/25
8  modfied: :
9  copyright : (C) 2007 by
10  email : andreas.suter@psi.ch
11 
12 ********************************************************************************************/
13 
14 /***************************************************************************
15  * *
16  * This program is free software; you can redistribute it and/or modify *
17  * it under the terms of the GNU General Public License as published by *
18  * the Free Software Foundation; either version 2 of the License, or *
19  * (at your option) any later version. *
20  * *
21  ***************************************************************************/
22 
23 #include <iostream>
24 using namespace std;
25 
26 #include "lemAutoRun.h"
27 #include "PValidateErrorHandler.h"
28 
29 //*******************************************************************************************************
30 // implementation of the constructor
31 //*******************************************************************************************************
36 {
37 }
38 
39 //*******************************************************************************************************
40 // implementation of the destructor
41 //*******************************************************************************************************
46 {
47 }
48 
49 //*******************************************************************************************************
50 // implementation of the HandleErrors
51 //*******************************************************************************************************
59 void PValidateErrorHandler::HandleErrors(int, int, int errorNo, int line, QString errorMsg)
60 {
61  if (errorNo) {} // is keeping the compiler happy
62  cout << endl << endl << "line: " << line << ", " << errorMsg.toLatin1().data();
63 }
64 
65 //*******************************************************************************************************
66 // end
67 //*******************************************************************************************************
void HandleErrors(int, int, int errorNo, int line, QString errorMsg)