handling cases where an exception does not have a message