JAVA-4240: Fix catch block
This commit is contained in:
parent
47db80077d
commit
6332f7eba4
|
@ -34,11 +34,9 @@ public class JavaRMIIntegrationTest {
|
||||||
|
|
||||||
String expectedMessage = "Server Message";
|
String expectedMessage = "Server Message";
|
||||||
assertEquals(responseMessage, expectedMessage);
|
assertEquals(responseMessage, expectedMessage);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException | NotBoundException e) {
|
||||||
fail("Exception Occurred: " + e);
|
fail("Exception Occurred: " + e);
|
||||||
} catch (NotBoundException nb) {
|
};
|
||||||
fail("Exception Occurred: " + e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue