protected ApplicationHandle launchOrionApplication() { String filter = "(service.pid=" + ORION_APP + ")"; // $NON-NLS-1$//$NON-NLS-2$ ApplicationDescriptor descriptor = getService(ApplicationDescriptor.class, filter); try { return descriptor.launch(null); } catch (ApplicationException e) { // TODO Auto-generated catch block e.printStackTrace(); } return null; }
public void parse(org.xml.sax.InputSource in) throws SAXException, IOException { documentHandler.setDocumentLocator(this); try { parser.parseDocument(openInputSource(in)); } catch (WrapperException e) { throw e.getWrapped(); } catch (NotWellFormedException e) { errorHandler.fatalError( new org.xml.sax.SAXParseException( e.getMessageWithoutLocation(), null, e.getEntityLocation(), e.getLineNumber(), e.getColumnNumber())); } catch (ApplicationException e) { throw (SAXException) e.getException(); } }