School Commit Init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#include "exceptions.h"
|
||||
|
||||
RepoException::RepoException(const char* message){
|
||||
this->_message = message;
|
||||
}
|
||||
|
||||
const char* RepoException::what() const noexcept {
|
||||
return this->_message;
|
||||
}
|
||||
|
||||
AdminControllerException::AdminControllerException(const char* message){
|
||||
this->_message = message;
|
||||
}
|
||||
|
||||
const char* AdminControllerException::what() const noexcept {
|
||||
return this->_message;
|
||||
}
|
||||
|
||||
ValidatorException::ValidatorException(const char* message){
|
||||
this->_message = message;
|
||||
}
|
||||
|
||||
const char* ValidatorException::what() const noexcept {
|
||||
return this->_message;
|
||||
}
|
||||
Reference in New Issue
Block a user