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