From 1b54cb095326f4b2d8170eaa4f777cbf5a012a79 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 8 Jan 2009 09:18:28 -0600 Subject: [PATCH] EOF exception --- src/config.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/config.hpp b/src/config.hpp index 4674a94..8d8a4be 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -92,6 +92,13 @@ namespace CosmoTool InvalidFileFormatException(const char *mess = 0) : Exception(mess) {} }; + + class EndOfFileException: public Exception + { + public: + EndOfFileException(const char *mess = 0) + : Exception(mess) {} + }; }; #endif