consolidate all repos to one for archive
This commit is contained in:
23
semester_2/programiranje_2/naloga1101/InvalidDateException.h
Normal file
23
semester_2/programiranje_2/naloga1101/InvalidDateException.h
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// Created by Nik on 23/05/2022.
|
||||
//
|
||||
|
||||
#ifndef NALOGA1101_INVALIDDATEEXCEPTION_H
|
||||
#define NALOGA1101_INVALIDDATEEXCEPTION_H
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
class InvalidDateException : public std::exception{
|
||||
private:
|
||||
std::string message;
|
||||
public:
|
||||
explicit InvalidDateException(std::string message);
|
||||
|
||||
const char* what() const noexcept override;
|
||||
|
||||
std::string toString();
|
||||
};
|
||||
|
||||
|
||||
#endif //NALOGA1101_INVALIDDATEEXCEPTION_H
|
||||
Reference in New Issue
Block a user