src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/dom/DOMDocumentParser.java

Print this page

        

*** 103,122 **** protected final void parse() throws FastInfosetException, IOException { try { reset(); decodeHeader(); processDII(); - } catch (RuntimeException e) { - resetOnError(); - // Wrap runtime exception - throw new FastInfosetException(e); } catch (FastInfosetException e) { resetOnError(); throw e; } catch (IOException e) { resetOnError(); throw e; } } protected final void processDII() throws FastInfosetException, IOException { _b = read(); --- 103,122 ---- protected final void parse() throws FastInfosetException, IOException { try { reset(); decodeHeader(); processDII(); } catch (FastInfosetException e) { resetOnError(); throw e; } catch (IOException e) { resetOnError(); throw e; + } catch (RuntimeException e) { + resetOnError(); + // Wrap runtime exception + throw new FastInfosetException(e); } } protected final void processDII() throws FastInfosetException, IOException { _b = read();