18 lines
387 B
C++
18 lines
387 B
C++
#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;
|
|
}
|