From 452e6bfa7bb4bca75dc4659bf9d707101b411977 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 17 Nov 2020 19:02:35 +0100 Subject: Added cpp05/ex02 main, Added cpp05/ex03 --- cpp05/ex02/Form.hpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'cpp05/ex02/Form.hpp') diff --git a/cpp05/ex02/Form.hpp b/cpp05/ex02/Form.hpp index a371426..78828da 100644 --- a/cpp05/ex02/Form.hpp +++ b/cpp05/ex02/Form.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 19:19:45 by charles #+# #+# */ -/* Updated: 2020/11/17 12:56:36 by cacharle ### ########.fr */ +/* Updated: 2020/11/17 17:09:15 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -68,6 +68,17 @@ private: ~GradeTooLowException() throw(); virtual char const* what() const throw(); }; + + class NoSignatureException : public std::exception + { + public: + NoSignatureException(); + NoSignatureException(NoSignatureException const& other); + NoSignatureException& operator=(NoSignatureException const& other); + ~NoSignatureException() throw(); + virtual char const* what() const throw(); + }; + }; std::ostream& operator<<(std::ostream& out, Form const& f); -- cgit