exception.hpp
Go to the documentation of this file.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
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 namespace Gecode {
00039
00046
00048 class GECODE_VTABLE_EXPORT SpaceFailed : public Exception {
00049 public:
00051 SpaceFailed(const char* l);
00052 };
00053
00055 class GECODE_VTABLE_EXPORT SpaceNotStable : public Exception {
00056 public:
00058 SpaceNotStable(const char* l);
00059 };
00060
00062 class GECODE_VTABLE_EXPORT SpaceNotCloned : public Exception {
00063 public:
00065 SpaceNotCloned(const char* l);
00066 };
00067
00069 class GECODE_VTABLE_EXPORT SpaceNoBrancher : public Exception {
00070 public:
00072 SpaceNoBrancher(const char* l);
00073 };
00074
00076 class GECODE_VTABLE_EXPORT SpaceIllegalAlternative : public Exception {
00077 public:
00079 SpaceIllegalAlternative(const char* l);
00080 };
00081
00083 class GECODE_VTABLE_EXPORT TooManyBranchers : public Exception {
00084 public:
00086 TooManyBranchers(const char* l);
00087 };
00088
00090 class GECODE_VTABLE_EXPORT IllegalDecay : public Exception {
00091 public:
00093 IllegalDecay(const char* l);
00094 };
00095
00097 class GECODE_VTABLE_EXPORT UninitializedAFC : public Exception {
00098 public:
00100 UninitializedAFC(const char* l);
00101 };
00102
00104 class GECODE_VTABLE_EXPORT UninitializedActivity : public Exception {
00105 public:
00107 UninitializedActivity(const char* l);
00108 };
00109
00111 class GECODE_VTABLE_EXPORT UninitializedRnd : public Exception {
00112 public:
00114 UninitializedRnd(const char* l);
00115 };
00116
00118 class GECODE_VTABLE_EXPORT AFCWrongArity : public Exception {
00119 public:
00121 AFCWrongArity(const char* l);
00122 };
00123
00125 class GECODE_VTABLE_EXPORT ActivityWrongArity : public Exception {
00126 public:
00128 ActivityWrongArity(const char* l);
00129 };
00130
00132
00133
00134
00135
00136
00137 inline
00138 SpaceFailed::SpaceFailed(const char* l)
00139 : Exception(l,"Attempt to invoke operation on failed space") {}
00140
00141 inline
00142 SpaceNotStable::SpaceNotStable(const char* l)
00143 : Exception(l,"Attempt to invoke operation on not stable space") {}
00144
00145 inline
00146 SpaceNotCloned::SpaceNotCloned(const char* l)
00147 : Exception(l,"Copy constructor of space did not call base class copy constructor") {}
00148
00149 inline
00150 SpaceNoBrancher::SpaceNoBrancher(const char* l)
00151 : Exception(l,"Attempt to commit with no brancher") {}
00152
00153 inline
00154 SpaceIllegalAlternative::SpaceIllegalAlternative(const char* l)
00155 : Exception(l,"Attempt to commit with illegal alternative") {}
00156
00157 inline
00158 TooManyBranchers::TooManyBranchers(const char* l)
00159 : Exception(l,"Too many branchers created") {}
00160
00161 inline
00162 UninitializedRnd::UninitializedRnd(const char* l)
00163 : Exception(l,"Uninitialized random generator for branching") {}
00164
00165 inline
00166 IllegalDecay::IllegalDecay(const char* l)
00167 : Exception(l,"Illegal decay factor") {}
00168
00169 inline
00170 UninitializedAFC::UninitializedAFC(const char* l)
00171 : Exception(l,"Uninitialized AFC information for branching") {}
00172
00173 inline
00174 UninitializedActivity::UninitializedActivity(const char* l)
00175 : Exception(l,"Uninitialized activity information for branching") {}
00176
00177 inline
00178 AFCWrongArity::AFCWrongArity(const char* l)
00179 : Exception(l,"AFC has wrong number of variables") {}
00180
00181 inline
00182 ActivityWrongArity::ActivityWrongArity(const char* l)
00183 : Exception(l,"Activity has wrong number of variables") {}
00184
00185 }
00186
00187