delphi_cb
 All Classes Namespaces Files Functions Variables Macros
site_exceptions.h
1 /*
2  * site_exceptions.h
3  *
4  * Created on: Feb 18, 2014
5  * Author: chuan
6  */
7 
8 #ifndef SITE_EXCEPTIONS_H_
9 #define SITE_EXCEPTIONS_H_
10 
11 #include "../interface/exceptions.h"
12 
14 {
15  public:
16  CUnknownGridEngFile(const string& strFileName)
17  {
18  cerr << "data file " << strFileName << " for analytic grid energy not present \n";
19  }
20 };
21 
22 class CCrgatnError : public CException
23 {
24  public:
25  CCrgatnError()
26  {
27  cerr << "PROBLEM WITH prgiCrgAt (crgatn) \n";
28  }
29 };
30 
32 {
33  public:
34  CUnknownPreviousPhiFile(const string& strPreviousPhiFile)
35  {
36  cerr << "THE INPUT PHI FILE " << strPreviousPhiFile << " DOES NOT EXISIT \n";
37  }
38 };
39 
41 {
42  public:
44  {
45  cerr << "THE TWO POTENTIAL MAPS DO NOT MATCH \n";
46  }
47 };
48 
50 {
51  public:
52  CUnknownInFrcFile(const string & strFrciFile)
53  {
54  cerr << "THE INPUT FRC FILE " << strFrciFile << " DOES NOT EXISIT ";
55  cerr << "(EXITING...)\n";
56  }
57 };
58 
59 class CNoAtomInfo : public CWarning
60 {
61  public:
62  CNoAtomInfo(const string & strFrciFile)
63  {
64  cerr << "THIS UNFORMATTED FILE " << strFrciFile << " DOES NOT CONTAIN ATOM INFO ";
65  cerr << "(ATOM INFO FLAG TRUNED OFF)\n";
66  }
67 };
68 
70 {
71  public:
73  {
74  cerr << "CANNOT CALCULATE REACTION FORCES W/O USING INTERNAL (SELF) COORDINATES ";
75  cerr << "(EXITING...)\n";
76  }
77 };
78 
79 class CSitePhiError : public CWarning
80 {
81  public:
83  {
84  cerr << "Something unclear with sitephi array ";
85  cerr << "(will be fixed soon...)\n";
86  }
87 };
88 
89 class CNoIDebMap : public CWarning
90 {
91  public:
92  CNoIDebMap()
93  {
94  cerr << "WRTSIT: THESE SALT CONCENTRATIONS DO NOT HAVE THE BENEFIT OF IDEBMAP ";
95  cerr << "(AS YET)\n";
96  }
97 };
98 
99 class CUntestedPhicon : public CWarning
100 {
101  public:
103  {
104  cerr << "PHICON: this option has not been tested yet\n";
105  }
106 };
107 
109 {
110  public:
112  {
113  cerr << "CANNOT CONVERT FROM POTENTIALS TO CONCENTRATIONS IF THE IONIC STRENTH IS ZERO\n";
114  }
115 };
116 
117 class CEmptyPhiMap : public CWarning
118 {
119  public:
120  CEmptyPhiMap()
121  {
122  cerr << "THE REQUESTED OUPUT PHIMAP IS EMPTY.\n";
123  }
124 };
125 
126 #endif /* SITE_EXCEPTIONS_H_ */
Definition: site_exceptions.h:89
Definition: site_exceptions.h:40
Definition: site_exceptions.h:49
Definition: site_exceptions.h:99
Definition: site_exceptions.h:13
Definition: site_exceptions.h:79
Definition: exceptions.h:41
Definition: site_exceptions.h:59
Definition: exceptions.h:20
Definition: site_exceptions.h:69
Definition: site_exceptions.h:108
Definition: site_exceptions.h:22
Definition: site_exceptions.h:31
Definition: site_exceptions.h:117