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 _MPCL_NET_CGI_EXCEPTIONS__
00028 #define _MPCL_NET_CGI_EXCEPTIONS__
00029
00030 #include "../../error_exception.hh"
00031 #include "../../exception.hh"
00032
00033
00035 namespace mpcl
00036 {
00037
00039 namespace net
00040 {
00041
00043 namespace cgi
00044 {
00045
00047 class TException : public virtual mpcl::TException {};
00048
00050 class TBadCookieException :
00051 public virtual mpcl::TException ,
00052 public TErrorException ,
00053 public TException
00054 {
00055
00056 private:
00057
00059 static const char* _pkcSynopsis;
00060
00061
00062 public:
00063
00064
00065
00066
00067
00075 TBadCookieException ( const string& rkyRATIONALE ,
00076 const string& rkyFILE_NAME ,
00077 const int kiLINE_NUMBER ) :
00078 mpcl::TException (_pkcSynopsis, rkyRATIONALE, rkyFILE_NAME, kiLINE_NUMBER) ,
00079 TErrorException () ,
00080 TException () {}
00081
00082 };
00083
00084
00086 class TBadFormException :
00087 public virtual mpcl::TException ,
00088 public TErrorException ,
00089 public TException
00090 {
00091
00092 private:
00093
00095 static const char* _pkcSynopsis;
00096
00097
00098 public:
00099
00100
00101
00102
00103
00111 TBadFormException ( const string& rkyRATIONALE ,
00112 const string& rkyFILE_NAME ,
00113 const int kiLINE_NUMBER ) :
00114 mpcl::TException (_pkcSynopsis, rkyRATIONALE, rkyFILE_NAME, kiLINE_NUMBER) ,
00115 TErrorException () ,
00116 TException () {}
00117
00118 };
00119
00120
00122 class TCouldNotBuildException :
00123 public virtual mpcl::TException ,
00124 public TErrorException ,
00125 public TException
00126 {
00127
00128 private:
00129
00131 static const char* _pkcSynopsis;
00132
00133
00134 public:
00135
00136
00137
00138
00139
00147 TCouldNotBuildException ( const string& rkyRATIONALE ,
00148 const string& rkyFILE_NAME ,
00149 const int kiLINE_NUMBER ) :
00150 mpcl::TException (_pkcSynopsis, rkyRATIONALE, rkyFILE_NAME, kiLINE_NUMBER) ,
00151 TErrorException () ,
00152 TException () {}
00153
00154 };
00155
00156
00158 class TVariableNotFoundException :
00159 public virtual mpcl::TException ,
00160 public TErrorException ,
00161 public TException
00162 {
00163
00164 private:
00165
00167 static const char* _pkcSynopsis;
00168
00169
00170 public:
00171
00172
00173
00174
00175
00183 TVariableNotFoundException ( const string& rkyRATIONALE ,
00184 const string& rkyFILE_NAME ,
00185 const int kiLINE_NUMBER ) :
00186 mpcl::TException (_pkcSynopsis, rkyRATIONALE, rkyFILE_NAME, kiLINE_NUMBER) ,
00187 TErrorException () ,
00188 TException () {}
00189
00190 };
00191
00192 }
00193
00194 }
00195
00196 }
00197
00198
00199 #endif // not _MPCL_NET_CGI_EXCEPTIONS__