changed RecoverableException to Exception in Logger class