Raytracer
Loading...
Searching...
No Matches
include
exceptions
File.hpp
1
#include <string>
2
#include "exceptions/Base.hpp"
3
4
#ifndef __FILE_EXCEPTION_HPP__
5
#define __FILE_EXCEPTION_HPP__
6
7
namespace
Raytracer::Exceptions
8
{
9
class
FileException
:
public
Base
{
10
public
:
11
FileException
(
const
std::string &message)
12
:
Base
(
"File error: "
+ message)
13
{
14
}
15
virtual
~FileException
() =
default
;
16
};
17
}
// namespace Raytracer::Exceptions
18
19
#endif
/* __FILE_EXCEPTION_HPP__ */
Raytracer::Exceptions::Base
Definition
Base.hpp:9
Raytracer::Exceptions::FileException
Definition
File.hpp:9
Generated by
1.10.0