Goby v2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
goby
common
exception.h
1
// Copyright 2009-2018 Toby Schneider (http://gobysoft.org/index.wt/people/toby)
2
// GobySoft, LLC (2013-)
3
// Massachusetts Institute of Technology (2007-2014)
4
// Community contributors (see AUTHORS file)
5
//
6
//
7
// This file is part of the Goby Underwater Autonomy Project Libraries
8
// ("The Goby Libraries").
9
//
10
// The Goby Libraries are free software: you can redistribute them and/or modify
11
// them under the terms of the GNU Lesser General Public License as published by
12
// the Free Software Foundation, either version 2.1 of the License, or
13
// (at your option) any later version.
14
//
15
// The Goby Libraries are distributed in the hope that they will be useful,
16
// but WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
// GNU Lesser General Public License for more details.
19
//
20
// You should have received a copy of the GNU Lesser General Public License
21
// along with Goby. If not, see <http://www.gnu.org/licenses/>.
22
23
#ifndef Exception20101005H
24
#define Exception20101005H
25
26
#include <exception>
27
#include <stdexcept>
28
29
namespace
goby
30
{
32
class
Exception
:
public
std::runtime_error
33
{
34
public
:
35
Exception
(
const
std::string& s) : std::runtime_error(s) {}
36
};
37
38
}
// namespace goby
39
40
#endif
goby
The global namespace for the Goby project.
Definition:
acomms_constants.h:30
goby::Exception
simple exception class for goby applications
Definition:
exception.h:32
Generated by
1.8.11