/**** * * Implementation of delete-input-error.h. * */ #include "delete-input-error.h" #include "std-macros.h" DeleteInputError::DeleteInputError() { nerrstr = new String("A card of the given id is not in the rolodex."); } String* DeleteInputError::GetNotThereErrorMessage() { if (nerr) return nerrstr; else return NULL; } void DeleteInputError::SetNotThereErrorMessage() { nerr = true; } void DeleteInputError::Clear() { nerr = false; }