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."; }
};