rethrow an exception during location phase