18 lines
366 B
C++
18 lines
366 B
C++
//
|
|
// Created by Nik on 23/05/2022.
|
|
//
|
|
|
|
#include "InvalidDateException.h"
|
|
|
|
InvalidDateException::InvalidDateException(std::string message) : message("InvalidDateException: " + message) {
|
|
|
|
}
|
|
|
|
const char *InvalidDateException::what() const noexcept {
|
|
return message.c_str();
|
|
}
|
|
|
|
std::string InvalidDateException::toString() {
|
|
return message;
|
|
}
|