add ParameterException

This commit is contained in:
lucaspalomodevelop 2023-10-03 17:27:05 +02:00
parent 4efa8bd9d4
commit 6fd7438ecc
2 changed files with 23 additions and 0 deletions

View File

@ -3,5 +3,6 @@
#include "generic_exception.hpp"
#include "notImplementedException.hpp"
#include "parameterException.hpp"
#endif // EXCEPTIONS_HPP

View 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