Code example for RemoteException

Methods: printStackTrace, sleep

0
			componentNames.add("kaluana.sdm");
			componentManager.loadComponents(componentNames, new ComponentManagerListener());
			 
		} catch (RemoteException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
		 
		try { 
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
	} 
	 
	public class ComponentManagerListener implements IComponentManagerListener { 
 
		@Override 
		public void componentsLoaded(List<String> components) throws RemoteException {