JAVA-4240: Add exception's message to the log
This commit is contained in:
parent
c9bc95a5e2
commit
47db80077d
@ -20,7 +20,7 @@ public class JavaRMIIntegrationTest {
|
||||
MessengerServiceImpl server = new MessengerServiceImpl();
|
||||
server.createStubAndBind();
|
||||
} catch (RemoteException e) {
|
||||
fail("Exception Occurred");
|
||||
fail("Exception Occurred: " + e);
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,9 +35,9 @@ public class JavaRMIIntegrationTest {
|
||||
String expectedMessage = "Server Message";
|
||||
assertEquals(responseMessage, expectedMessage);
|
||||
} catch (RemoteException e) {
|
||||
fail("Exception Occurred");
|
||||
fail("Exception Occurred: " + e);
|
||||
} catch (NotBoundException nb) {
|
||||
fail("Exception Occurred");
|
||||
fail("Exception Occurred: " + e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user