BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
QSAR/exception.h
Go to the documentation of this file.
1 /* exception.h
2  *
3  * Copyright (C) 2009 Marcel Schumann
4  *
5  * This file is part of QuEasy -- A Toolbox for Automated QSAR Model
6  * Construction and Validation.
7  * QuEasy is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or (at
10  * your option) any later version.
11  *
12  * QuEasy is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 // -*- Mode: C++; tab-width: 2; -*-
22 // vi: set ts=2:
23 //
24 //
25 
26 
27 #ifndef QSAR_EXCEPTION
28 #define QSAR_EXCEPTION
29 
30 #ifndef BALL_COMMON_EXCEPTION_H
31 #include <BALL/COMMON/exception.h>
32 #endif
33 
34 
35 namespace BALL
36 {
37  namespace QSAR
38  {
39  namespace Exception
40  {
43  {
44  public:
45  InvalidActivityID(const char* file, unsigned long line, int act, int m) throw();
46 
47  InvalidActivityID(const char* file, unsigned long line) throw();
48  };
49 
52  {
53  public:
54  PropertyError(const char* file, unsigned long line, const char* sd_file, int mol, const char* mess="") throw();
55  };
56 
57 
60  {
61  public:
62  SingularMatrixError(const char* file, unsigned long line, const char* mess="") throw();
63  };
64 
65 
68  {
69  public:
70  InconsistentUsage(const char* file, unsigned long line, const char* mess="") throw();
71  };
72 
73 
76  {
77  public:
78  KernelParameterError(const char* file, unsigned long line, const char* mess) throw();
79  };
80 
81 
84  {
85  public:
86  WrongDataType(const char* file, unsigned long line, const char* mess) throw();
87  };
88 
91  {
92  public:
93  NoPCAVariance(const char* file, unsigned long line, const char* mess) throw();
94  };
95 
98  {
99  public:
100  ModelParameterError(const char* file, unsigned long line, const char* mess) throw();
101  };
102 
105  {
106  public:
107  TooManyPLSComponents(const char* file, unsigned long line, int comp, int features) throw();
108  };
109 
112  {
113  public:
114  WrongFileFormat(const char* file, unsigned long line, const char* input_file) throw();
115  };
116 
119  {
120  public:
121  FeatureSelectionParameterError(const char* file, unsigned long line, const char* mess) throw();
122  };
123 
126  {
127  public:
128  ConfigurationReadingError(const char* file, unsigned long line, const char* message) throw();
129  };
130 
131 
132  }
133  }
134 }
135 
136 
137 #endif // QSAR_EXCEPTION
138