JaiaBot
1.19.0
JaiaBot micro-AUV software
exception.h
Go to the documentation of this file.
1
// Copyright 2023:
2
// JaiaRobotics LLC
3
// File authors:
4
// Toby Schneider <toby@gobysoft.org>
5
//
6
//
7
// This file is part of the JaiaBot Project Libraries
8
// ("The Jaia Libraries").
9
//
10
// The Jaia 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 Jaia 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 the Jaia Libraries. If not, see <http://www.gnu.org/licenses/>.
22
23
#ifndef JAIABOT_SRC_LIB_EXCEPTION_H
24
#define JAIABOT_SRC_LIB_EXCEPTION_H
25
26
#include <exception>
27
#include <stdexcept>
28
29
namespace
jaiabot
30
{
31
class
Exception
:
public
std::runtime_error
32
{
33
public
:
34
Exception
(
const
std::string& s) : std::runtime_error(s) {}
35
};
36
37
}
// namespace jaiabot
38
39
#endif
jaiabot::Exception
Definition:
exception.h:31
jaiabot::Exception::Exception
Exception(const std::string &s)
Definition:
exception.h:34
jaiabot
Definition:
config.pb.h:56
jaiabot
exception.h
Generated by
1.8.17