rl_raylib  1.1.10
rl_Exception.h
1 #ifndef rl_Exception_H
2 #define rl_Exception_H
3 
4 // --8<--8<--8<--8<--
5 //
6 // Copyright (C) 2007 Smithsonian Astrophysical Observatory
7 //
8 // This file is part of rl_raylib
9 //
10 // rl_raylib is free software; you can redistribute it and/or
11 // modify it under the terms of the GNU General Public License
12 // as published by the Free Software Foundation; either version 2
13 // of the License, or (at your option) any later version.
14 //
15 // rl_raylib is distributed in the hope that it 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 General Public License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with this program; if not, write to the
22 // Free Software Foundation, Inc.
23 // 51 Franklin Street, Fifth Floor
24 // Boston, MA 02110-1301, USA
25 //
26 // -->8-->8-->8-->8--
27 
28 #include <string>
29 #include <Exception/Exception.h>
30 
36 class rl_Exception : public Exception {
37 
38 public:
39 
41  ~rl_Exception( );
42 
44  rl_Exception( const std::string& msg );
45 
47  rl_Exception( const char* format, ... );
48 
49 };
50 
51 #endif
rl_Exception(const std::string &msg)
Include a string describing the exception.
Definition: rl_Exception.cc:29
The exception thrown by the rl_RayLib and rl_RaySupLib libraries.
Definition: rl_Exception.h:36
~rl_Exception()
Destructor.
Definition: rl_Exception.cc:27