BALL  1.4.1
exception.h
Go to the documentation of this file.
00001 /* exception.h
00002  * 
00003  * Copyright (C) 2009 Marcel Schumann
00004  * 
00005  * This file is part of QuEasy -- A Toolbox for Automated QSAR Model
00006  * Construction and Validation.
00007  * QuEasy is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 3 of the License, or (at
00010  * your option) any later version.
00011  * 
00012  * QuEasy is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * General Public License for more details.
00016  * 
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, see <http://www.gnu.org/licenses/>.
00019  */
00020 
00021 // -*- Mode: C++; tab-width: 2; -*-
00022 // vi: set ts=2:
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 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines