diff options
Diffstat (limited to 'cpp05/ex02/Form.hpp')
| -rw-r--r-- | cpp05/ex02/Form.hpp | 13 |
1 files changed, 12 insertions, 1 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); |
