List of usage examples for javax.xml.parsers ParserConfigurationException getStackTrace
public StackTraceElement[] getStackTrace()
From source file:com.esri.geoevent.solutions.adapter.cot.CoTAdapterInbound.java
public CoTAdapterInbound(AdapterDefinition adapterDefinition, String guid) throws ConfigurationException, ComponentException { super(adapterDefinition); this.guid = guid; messageParser = new MessageParser(this); saxFactory = SAXParserFactory.newInstance(); try {/* w w w. ja v a 2 s. co m*/ saxParser = saxFactory.newSAXParser(); } catch (ParserConfigurationException e) { e.printStackTrace(); saxParser = null; log.error(e); log.error(e.getStackTrace()); } catch (SAXException e) { e.printStackTrace(); saxParser = null; log.error(e); log.error(e.getStackTrace()); } }