#610 Runtime ClassCastException while attempting to log problems with file deletion while cleaning inbox.

Replaced log-error with a RuntimeException