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