PLYwoot
Header-only C++17 library for parsing and writing PLY files
Loading...
Searching...
No Matches
exceptions.hpp
Go to the documentation of this file.
1
/*
2
This file is part of PLYwoot, a header-only PLY parser.
3
4
Copyright (C) 2023-2025, Ton van den Heuvel
5
6
PLYwoot is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef PLYWOOT_EXCEPTIONS_HPP
21
#define PLYWOOT_EXCEPTIONS_HPP
22
24
25
#include <stdexcept>
26
#include <string>
27
28
namespace
plywoot {
29
31
class
Exception
:
public
std::runtime_error
32
{
33
public
:
37
Exception
(
const
std::string &message) : std::runtime_error(message) {}
38
};
39
40
}
41
42
#endif
plywoot::Exception
Base class for all exceptions thrown by PLYwoot.
Definition
exceptions.hpp:32
plywoot::Exception::Exception
Exception(const std::string &message)
Definition
exceptions.hpp:37
include
plywoot
plywoot
exceptions.hpp
Generated by
1.9.8