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