JAVA-4240: Fix catch block

This commit is contained in:
Krzysztof Woyke
2021-03-11 20:58:45 +01:00
parent 5f5e14870e
commit 889c175c65

View File

@@ -34,11 +34,9 @@ public class JavaRMIIntegrationTest {
String expectedMessage = "Server Message";
assertEquals(responseMessage, expectedMessage);
} catch (RemoteException e) {
} catch (RemoteException | NotBoundException e) {
fail("Exception Occurred: " + e);
} catch (NotBoundException nb) {
fail("Exception Occurred: " + e);
}
};
}
}