exception handling for walltime conversion