Files
School/Anul 1/Semestrul 2/OOP/Labs/a45-DanielCujba/src/exceptions/exceptions.h
T
2024-08-31 12:07:21 +03:00

27 lines
663 B
C++

#pragma once
#include <exception>
class VectorException : public std::exception {
public:
VectorException(const char* message);
const char* what() const noexcept override;
private:
const char* _message;
};
class RepoException : public std::exception {
public:
RepoException(const char* message);
const char* what() const noexcept override;
private:
const char* _message;
};
class AdminControllerException : public std::exception {
public:
AdminControllerException(const char* message);
const char* what() const noexcept override;
private:
const char* _message;
};