X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/f0a17b3d23f3f277957d3e97ac1c7c1869d6d4cc..555cf8e7b36faa768e40d09665781c468424a91c:/src/exception.h diff --git a/src/exception.h b/src/exception.h index 133485e..9cb4b0b 100644 --- a/src/exception.h +++ b/src/exception.h @@ -6,16 +6,19 @@ class Exception { public: + virtual ~Exception () {} virtual std::string Message () { return "Error desconocido"; } }; class AddException : public Exception { public: + virtual ~AddException () {} virtual std::string Message () { return "No se pudo agregar la clave."; } }; class DelException : public Exception { public: + virtual ~DelException () {} virtual std::string Message () { return "No se pudo eliminar la clave."; } };