List of usage examples for java.security AccessControlException printStackTrace
public void printStackTrace()
From source file:org.eclipse.emf.emfstore.client.test.SetupHelper.java
/** * log in the test server.//from w w w. j a v a 2s . c o m */ public void loginServer() { if (usersession == null) { usersession = ModelFactory.eINSTANCE.createUsersession(); ServerInfo serverInfo = getServerInfo(); usersession.setServerInfo(serverInfo); usersession.setUsername("super"); usersession.setPassword("super"); } if (!usersession.isLoggedIn()) { try { usersession.logIn(); } catch (AccessControlException e) { e.printStackTrace(); } catch (EmfStoreException e) { e.printStackTrace(); } } }