Gobelijn API documentation
- generated for commit a0cbea7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
util/Exception.h
Go to the documentation of this file.
1
#pragma once
2
/*
3
* This file is part of the gobelijn software.
4
* Gobelijn is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation, either version 3 of the License, or any later
7
* version. Gobelijn is distributed in the hope that it will be useful, but
8
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9
* or FITNESS FOR A PARTICULAR PURPOSE.
10
* See the GNU General Public License for details. You should have received
11
* a copy of the GNU General Public License along with the software. If not,
12
* see <http://www.gnu.org/licenses/>.
13
*
14
* Copyright 2012, Jan Broeckhove.
15
*/
20
#include <stdexcept>
21
#include <string>
22
#include <utility>
23
24
namespace
UA_CoMP {
25
namespace
Util {
26
28
class
Exception
:
public
std::runtime_error
29
{
30
public
:
32
Exception
(
const
std::string m) : std::runtime_error(std::move(m)) {}
33
};
34
35
}
// namespace Util
36
}
// namespace UA_CoMP
UA_CoMP::Util::Exception
Extremely simple Exception root class.
Definition:
util/Exception.h:28
UA_CoMP::Util::Exception::Exception
Exception(const std::string m)
Constructor initializes message for the exception.
Definition:
util/Exception.h:32
main
cpp
util
Exception.h
Generated on Fri Feb 1 2019 09:33:32 for Gobelijn API documentation by
1.8.6