X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/f0a17b3d23f3f277957d3e97ac1c7c1869d6d4cc..ce024cc2ec8438c906824afe3a634d928b5cf92e:/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."; } };