main page
modules
namespaces
classes
files
Gecode home
Generated on Tue Jan 28 2020 00:00:00 for Gecode by
doxygen
1.8.17
gecode
kernel
exception.cpp
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
*
6
* Copyright:
7
* Christian Schulte, 2004
8
*
9
* Last modified:
10
* $Date: 2017-03-17 23:04:57 +0100 (Fri, 17 Mar 2017) $ by $Author: schulte $
11
* $Revision: 15597 $
12
*
13
* This file is part of Gecode, the generic constraint
14
* development environment:
15
* http://www.gecode.org
16
*
17
* Permission is hereby granted, free of charge, to any person obtaining
18
* a copy of this software and associated documentation files (the
19
* "Software"), to deal in the Software without restriction, including
20
* without limitation the rights to use, copy, modify, merge, publish,
21
* distribute, sublicense, and/or sell copies of the Software, and to
22
* permit persons to whom the Software is furnished to do so, subject to
23
* the following conditions:
24
*
25
* The above copyright notice and this permission notice shall be
26
* included in all copies or substantial portions of the Software.
27
*
28
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
30
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
32
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
33
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
34
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35
*
36
*/
37
38
#include <
gecode/kernel.hh
>
39
40
namespace
Gecode
{
41
42
SpaceFailed::SpaceFailed
(
const
char
*
l
)
43
:
Exception
(
l
,
"Attempt to invoke operation on failed space"
) {}
44
45
SpaceNotStable::SpaceNotStable
(
const
char
*
l
)
46
:
Exception
(
l
,
"Attempt to invoke operation on not stable space"
) {}
47
48
SpaceNotCloned::SpaceNotCloned
(
const
char
*
l
)
49
:
Exception
(
l
,
"Copy constructor of space did not call base class copy constructor"
) {}
50
51
SpaceNoBrancher::SpaceNoBrancher
(
const
char
*
l
)
52
:
Exception
(
l
,
"Attempt to commit with no brancher"
) {}
53
54
SpaceIllegalAlternative::SpaceIllegalAlternative
(
const
char
*
l
)
55
:
Exception
(
l
,
"Attempt to commit with illegal alternative"
) {}
56
57
TooManyGroups::TooManyGroups
(
const
char
*
l
)
58
:
Exception
(
l
,
"Too many groups created"
) {}
59
60
UnknownPropagator::UnknownPropagator
(
const
char
*
l
)
61
:
Exception
(
l
,
"Unknown propagator (illegal id)"
) {}
62
63
TooManyBranchers::TooManyBranchers
(
const
char
*
l
)
64
:
Exception
(
l
,
"Too many branchers created"
) {}
65
66
UnknownBrancher::UnknownBrancher
(
const
char
*
l
)
67
:
Exception
(
l
,
"Unknown brancher (illegal id)"
) {}
68
69
UninitializedAFC::UninitializedAFC
(
const
char
*
l
)
70
:
Exception
(
l
,
"Uninitialized AFC information for branching"
) {}
71
72
UninitializedAction::UninitializedAction
(
const
char
*
l
)
73
:
Exception
(
l
,
"Uninitialized action information for branching"
) {}
74
75
UninitializedCHB::UninitializedCHB
(
const
char
*
l
)
76
:
Exception
(
l
,
"Uninitialized CHB information for branching"
) {}
77
78
UninitializedRnd::UninitializedRnd
(
const
char
*
l
)
79
:
Exception
(
l
,
"Uninitialized random generator for branching"
) {}
80
81
IllegalDecay::IllegalDecay
(
const
char
*
l
)
82
:
Exception
(
l
,
"Illegal decay factor"
) {}
83
84
InvalidFunction::InvalidFunction
(
const
char
*
l
)
85
:
Exception
(
l
,
"Invalid function"
) {}
86
87
MoreThanOneTracer::MoreThanOneTracer
(
const
char
*
l
)
88
:
Exception
(
l
,
"Attempt create more than one non-variable tracer"
) {}
89
90
}
91
92
// STATISTICS: kernel-other
Gecode::UninitializedCHB::UninitializedCHB
UninitializedCHB(const char *l)
Initialize with location l.
Definition:
exception.cpp:75
kernel.hh
Gecode::SpaceNotCloned::SpaceNotCloned
SpaceNotCloned(const char *l)
Initialize with location l.
Definition:
exception.cpp:48
Gecode::MoreThanOneTracer::MoreThanOneTracer
MoreThanOneTracer(const char *l)
Initialize with location l.
Definition:
exception.cpp:87
Gecode::UnknownBrancher::UnknownBrancher
UnknownBrancher(const char *l)
Initialize with location l.
Definition:
exception.cpp:66
Gecode::IllegalDecay::IllegalDecay
IllegalDecay(const char *l)
Initialize with location l.
Definition:
exception.cpp:81
Gecode::InvalidFunction::InvalidFunction
InvalidFunction(const char *l)
Initialize with location l.
Definition:
exception.cpp:84
Gecode::UninitializedRnd::UninitializedRnd
UninitializedRnd(const char *l)
Initialize with location l.
Definition:
exception.cpp:78
Gecode
Gecode toplevel namespace
Gecode::SpaceNoBrancher::SpaceNoBrancher
SpaceNoBrancher(const char *l)
Initialize with location l.
Definition:
exception.cpp:51
Gecode::SpaceNotStable::SpaceNotStable
SpaceNotStable(const char *l)
Initialize with location l.
Definition:
exception.cpp:45
Gecode::UnknownPropagator::UnknownPropagator
UnknownPropagator(const char *l)
Initialize with location l.
Definition:
exception.cpp:60
Gecode::TooManyBranchers::TooManyBranchers
TooManyBranchers(const char *l)
Initialize with location l.
Definition:
exception.cpp:63
l
NNF * l
Left subtree.
Definition:
bool-expr.cpp:244
Gecode::UninitializedAction::UninitializedAction
UninitializedAction(const char *l)
Initialize with location l.
Definition:
exception.cpp:72
Gecode::UninitializedAFC::UninitializedAFC
UninitializedAFC(const char *l)
Initialize with location l.
Definition:
exception.cpp:69
Gecode::SpaceFailed::SpaceFailed
SpaceFailed(const char *l)
Initialize with location l.
Definition:
exception.cpp:42
Gecode::TooManyGroups::TooManyGroups
TooManyGroups(const char *l)
Initialize with location l.
Definition:
exception.cpp:57
Gecode::SpaceIllegalAlternative::SpaceIllegalAlternative
SpaceIllegalAlternative(const char *l)
Initialize with location l.
Definition:
exception.cpp:54
Gecode::Exception
Exception: Base-class for exceptions
Definition:
exception.hpp:46