Skip to content

Commit 5543b2c

Browse files
committed
Remove catch for EE 8 EJB test
1 parent de406c4 commit 5543b2c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ejb/remote/roles-allowed/src/test/java/org/javaee8/ejb/remote/RemoteBeanTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,12 @@ public void after() {
6666
@Test
6767
@RunAsClient
6868
public void callProtectedRemoteBean() throws NamingException {
69-
70-
try {
71-
7269
// Obtain the JNDI naming context in a vendor specific way.
7370
Context ejbRemoteContext = remoteEJBContextProvider.getContextWithCredentialsSet("u1", "p1");
7471

7572
BeanRemote beanRemote = (BeanRemote) ejbRemoteContext.lookup("java:global/test/Bean");
7673

7774
assertEquals("method", beanRemote.method());
78-
} catch (Exception e) {
79-
e.printStackTrace();
80-
}
8175
}
8276

8377
}

0 commit comments

Comments
 (0)