Replaced sub_nb class in mr.h by boost::dynamic_bitset
[libdai.git] / src / exceptions.cpp
1 /* Copyright (C) 2006-2008 Joris Mooij [j dot mooij at science dot ru dot nl]
2 Radboud University Nijmegen, The Netherlands
3
4 This file is part of libDAI.
5
6 libDAI is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 libDAI is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with libDAI; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21
22 #include <dai/exceptions.h>
23
24
25 namespace dai {
26
27
28 std::string Exception::ErrorStrings[NUM_ERRORS] = {
29 "This feature is not implemented",
30 "Unknown DAI algorithm",
31 "Unknown Property type",
32 "Malformed Property",
33 "Unknown ENUM value",
34 "Cannot read file",
35 "Cannot write file",
36 "Invalid FactorGraph file",
37 "Not all mandatory Properties specified",
38 "Multiple undo levels unsupported",
39 "FactorGraph is not connected",
40 "Impossible typecast",
41 "Internal error"
42 };
43
44
45 }