HPCC-10028 removeEntry() should pass the error message to the caller

Add new removeEntry() method with suggested StringBuffer parameter.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-10028 removeEntry() should pass the error message to the caller

Rework after first review.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-10028 removeEntry() should pass the error message to the caller

Clean up to use a single function.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4968 from richardkchapman/HPCC-10028-improvement

Hpcc 10028 improvement

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>