1 /*
2 * Open BEAGLE
3 * Copyright (C) 2001-2007 by Christian Gagne and Marc Parizeau
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * Contact:
20 * Laboratoire de Vision et Systemes Numeriques
21 * Departement de genie electrique et de genie informatique
22 * Universite Laval, Quebec, Canada, G1K 7P4
23 * http://vision.gel.ulaval.ca
24 *
25 */
26
27 /*!
28 * \file beagle/GP/src/ExecutionException.cpp
29 * \brief Implementation of class GP::ExecutionException.
30 * \author Christian Gagne <cgagne@gmail.com>
31 * \author Matthew Walker <m.g.walker@massey.ac.nz>
32 * $Revision: 1.3.2.1 $
33 * $Date: 2007/05/09 01:51:06 $
34 */
35
36 #include "beagle/GP.hpp"
37
38 using namespace Beagle;
39
40
41 /*!
42 * \brief Construct a new ExecutionException object.
43 * \param inMessage Message describing the exception.
44 */
ExecutionException(Beagle::string inMessage)45 GP::ExecutionException::ExecutionException(Beagle::string inMessage) :
46 Exception(inMessage)
47 { }
48
49
50 /*!
51 * \brief Get the name of the exception.
52 * \return Name of the exception.
53 */
getExceptionName() const54 const char* GP::ExecutionException::getExceptionName() const throw()
55 {
56 return "Beagle::GP::ExecutionException";
57 }
58
59