mirror of
https://github.com/lucaspalomodevelop/lpstd.git
synced 2026-03-12 23:27:22 +00:00
add ParameterException
This commit is contained in:
parent
4efa8bd9d4
commit
6fd7438ecc
@ -3,5 +3,6 @@
|
||||
|
||||
#include "generic_exception.hpp"
|
||||
#include "notImplementedException.hpp"
|
||||
#include "parameterException.hpp"
|
||||
|
||||
#endif // EXCEPTIONS_HPP
|
||||
22
src/exceptions/parameterException.hpp
Normal file
22
src/exceptions/parameterException.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
#ifndef PARAMETEREXCEPTION_HPP
|
||||
#define PARAMETEREXCEPTION_HPP
|
||||
|
||||
#include "generic_exception.hpp"
|
||||
|
||||
namespace lpstd
|
||||
{
|
||||
namespace exceptions
|
||||
{
|
||||
class ParameterException : public generic_exception
|
||||
{
|
||||
public:
|
||||
ParameterException(std::string message = "ParameterException") : generic_exception(message)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace exceptions
|
||||
|
||||
} // namespace lpstd
|
||||
|
||||
#endif // PARAMETEREXCEPTION_HPP
|
||||
Loading…
x
Reference in New Issue
Block a user