00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef QSAR_EXCEPTION
00028 #define QSAR_EXCEPTION
00029
00030 #ifndef BALL_COMMON_EXCEPTION_H
00031 #include <BALL/COMMON/exception.h>
00032 #endif
00033
00034
00035 namespace BALL
00036 {
00037 namespace QSAR
00038 {
00039 namespace Exception
00040 {
00042 class BALL_EXPORT InvalidActivityID : public BALL::Exception::GeneralException
00043 {
00044 public:
00045 InvalidActivityID(const char* file, unsigned long line, int act, int m) throw();
00046
00047 InvalidActivityID(const char* file, unsigned long line) throw();
00048 };
00049
00051 class BALL_EXPORT PropertyError : public BALL::Exception::GeneralException
00052 {
00053 public:
00054 PropertyError(const char* file, unsigned long line, const char* sd_file, int mol, const char* mess="") throw();
00055 };
00056
00057
00059 class BALL_EXPORT SingularMatrixError : public BALL::Exception::GeneralException
00060 {
00061 public:
00062 SingularMatrixError(const char* file, unsigned long line, const char* mess="") throw();
00063 };
00064
00065
00067 class BALL_EXPORT InconsistentUsage : public BALL::Exception::GeneralException
00068 {
00069 public:
00070 InconsistentUsage(const char* file, unsigned long line, const char* mess="") throw();
00071 };
00072
00073
00075 class BALL_EXPORT KernelParameterError : public BALL::Exception::GeneralException
00076 {
00077 public:
00078 KernelParameterError(const char* file, unsigned long line, const char* mess) throw();
00079 };
00080
00081
00083 class BALL_EXPORT WrongDataType : public BALL::Exception::GeneralException
00084 {
00085 public:
00086 WrongDataType(const char* file, unsigned long line, const char* mess) throw();
00087 };
00088
00090 class BALL_EXPORT NoPCAVariance : public BALL::Exception::GeneralException
00091 {
00092 public:
00093 NoPCAVariance(const char* file, unsigned long line, const char* mess) throw();
00094 };
00095
00097 class BALL_EXPORT ModelParameterError : public BALL::Exception::GeneralException
00098 {
00099 public:
00100 ModelParameterError(const char* file, unsigned long line, const char* mess) throw();
00101 };
00102
00104 class TooManyPLSComponents : public BALL::Exception::GeneralException
00105 {
00106 public:
00107 TooManyPLSComponents(const char* file, unsigned long line, int comp, int features) throw();
00108 };
00109
00111 class BALL_EXPORT WrongFileFormat : public BALL::Exception::GeneralException
00112 {
00113 public:
00114 WrongFileFormat(const char* file, unsigned long line, const char* input_file) throw();
00115 };
00116
00118 class BALL_EXPORT FeatureSelectionParameterError : public BALL::Exception::GeneralException
00119 {
00120 public:
00121 FeatureSelectionParameterError(const char* file, unsigned long line, const char* mess) throw();
00122 };
00123
00125 class BALL_EXPORT ConfigurationReadingError : public BALL::Exception::GeneralException
00126 {
00127 public:
00128 ConfigurationReadingError(const char* file, unsigned long line, const char* message) throw();
00129 };
00130
00131
00132 }
00133 }
00134 }
00135
00136
00137 #endif // QSAR_EXCEPTION
00138