Generated on Fri Jan 10 2020 11:38:25 for Gecode by doxygen 1.8.16
exception.hpp
Go to the documentation of this file.
1 /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2 /*
3  * Main authors:
4  * Christian Schulte <schulte@gecode.org>
5  * Guido Tack <tack@gecode.org>
6  *
7  * Copyright:
8  * Christian Schulte, 2004, 2005
9  * Guido Tack, 2005
10  *
11  * This file is part of Gecode, the generic constraint
12  * development environment:
13  * http://www.gecode.org
14  *
15  * Permission is hereby granted, free of charge, to any person obtaining
16  * a copy of this software and associated documentation files (the
17  * "Software"), to deal in the Software without restriction, including
18  * without limitation the rights to use, copy, modify, merge, publish,
19  * distribute, sublicense, and/or sell copies of the Software, and to
20  * permit persons to whom the Software is furnished to do so, subject to
21  * the following conditions:
22  *
23  * The above copyright notice and this permission notice shall be
24  * included in all copies or substantial portions of the Software.
25  *
26  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
27  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
29  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
30  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
31  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
32  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33  *
34  */
35 
36 namespace Gecode { namespace Set {
37 
43  class GECODE_SET_EXPORT OutOfLimits : public Exception {
45  public:
47  OutOfLimits(const char* l);
48  };
49 
51  class GECODE_SET_EXPORT VariableEmptyDomain : public Exception {
53  public:
55  VariableEmptyDomain(const char* l);
56  };
57 
60  public:
62  TooFewArguments(const char* l);
63  };
64 
67  public:
69  ArgumentSizeMismatch(const char* l);
70  };
71 
74  public:
76  UnknownBranching(const char* l);
77  };
78 
81  public:
83  UnknownRelation(const char* l);
84  };
85 
88  public:
90  UnknownOperation(const char* l);
91  };
92 
95  public:
97  IllegalOperation(const char* l);
98  };
99 
101 
102 }}
103 
104 // STATISTICS: set-other
105 
Exception: Arguments are of different size
Definition: exception.hpp:73
Exception: Unknown operation passed as argument
Definition: exception.hpp:94
Exception: Unknown value or variable selection passed as argument
Definition: exception.hpp:108
Gecode toplevel namespace
Exception: Illegal operation passed as argument
Definition: exception.hpp:101
#define GECODE_SET_EXPORT
Definition: set.hh:67
NNF * l
Left subtree.
Definition: bool-expr.cpp:240
Exception: Unknown relation passed as argument
Definition: exception.hpp:87
Exception: Too few arguments available in argument array
Definition: exception.hpp:66
Exception: Base-class for exceptions
Definition: exception.hpp:42