catch any exception raised by convert()