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
00039
00040 namespace Gecode { namespace Float {
00041
00048
00050 class GECODE_VTABLE_EXPORT OutOfLimits : public Exception {
00051 public:
00053 OutOfLimits(const char* l);
00054 };
00055
00057 class GECODE_VTABLE_EXPORT VariableEmptyDomain : public Exception {
00058 public:
00060 VariableEmptyDomain(const char* l);
00061 };
00062
00064 class GECODE_VTABLE_EXPORT TooFewArguments : public Exception {
00065 public:
00067 TooFewArguments(const char* l);
00068 };
00069
00071 class GECODE_VTABLE_EXPORT ArgumentSizeMismatch : public Exception {
00072 public:
00074 ArgumentSizeMismatch(const char* l);
00075 };
00076
00078 class GECODE_VTABLE_EXPORT ArgumentSame : public Exception {
00079 public:
00081 ArgumentSame(const char* l);
00082 };
00083
00085 class GECODE_VTABLE_EXPORT UnknownRelation : public Exception {
00086 public:
00088 UnknownRelation(const char* l);
00089 };
00090
00092 class GECODE_VTABLE_EXPORT UnknownOperation : public Exception {
00093 public:
00095 UnknownOperation(const char* l);
00096 };
00097
00099 class GECODE_VTABLE_EXPORT IllegalOperation : public Exception {
00100 public:
00102 IllegalOperation(const char* l);
00103 };
00104
00106 class GECODE_VTABLE_EXPORT UnknownBranching : public Exception {
00107 public:
00109 UnknownBranching(const char* l);
00110 };
00111
00113 class GECODE_VTABLE_EXPORT ValOfUnassignedVar : public Exception {
00114 public:
00116 ValOfUnassignedVar(const char* l);
00117 };
00118
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130 inline
00131 OutOfLimits::OutOfLimits(const char* l)
00132 : Exception(l,"Number out of limits") {}
00133
00134 inline
00135 VariableEmptyDomain::VariableEmptyDomain(const char* l)
00136 : Exception(l,"Attempt to create variable with empty domain") {}
00137
00138
00139 inline
00140 TooFewArguments::TooFewArguments(const char* l)
00141 : Exception(l,"Passed argument array has too few elements") {}
00142
00143 inline
00144 ArgumentSizeMismatch::ArgumentSizeMismatch(const char* l)
00145 : Exception(l,"Sizes of argument arrays mismatch") {}
00146
00147 inline
00148 ArgumentSame::ArgumentSame(const char* l)
00149 : Exception(l,"Argument array contains same variable multiply") {}
00150
00151
00152 inline
00153 UnknownRelation::UnknownRelation(const char* l)
00154 : Exception(l,"Unknown relation type") {}
00155
00156 inline
00157 UnknownOperation::UnknownOperation(const char* l)
00158 : Exception(l,"Unknown operation type") {}
00159
00160 inline
00161 IllegalOperation::IllegalOperation(const char* l)
00162 : Exception(l,"Illegal operation type") {}
00163
00164 inline
00165 UnknownBranching::UnknownBranching(const char* l)
00166 : Exception(l,"Unknown branching type") {}
00167
00168 inline
00169 ValOfUnassignedVar::ValOfUnassignedVar(const char* l)
00170 : Exception(l,"Attempt to access value of unassigned variable") {}
00171
00172 }}
00173
00174
00175