--- old/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/dom/DOMDocumentParser.java 2013-05-02 12:23:37.087210461 +0100 +++ new/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/dom/DOMDocumentParser.java 2013-05-02 12:23:36.947210464 +0100 @@ -105,16 +105,16 @@ 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; + } catch (RuntimeException e) { + resetOnError(); + // Wrap runtime exception + throw new FastInfosetException(e); } } --- old/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/sax/SAXDocumentParser.java 2013-05-02 12:23:37.631210449 +0100 +++ new/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/sax/SAXDocumentParser.java 2013-05-02 12:23:37.491210452 +0100 @@ -407,28 +407,28 @@ processDIIFragment(); else processDII(); - } catch (RuntimeException e) { + } catch (FastInfosetException e) { try { _errorHandler.fatalError(new SAXParseException(e.getClass().getName(), null, e)); } catch (Exception ee) { } resetOnError(); - // Wrap runtime exception - throw new FastInfosetException(e); - } catch (FastInfosetException e) { + throw e; + } catch (IOException e) { try { _errorHandler.fatalError(new SAXParseException(e.getClass().getName(), null, e)); } catch (Exception ee) { } resetOnError(); throw e; - } catch (IOException e) { + } catch (RuntimeException e) { try { _errorHandler.fatalError(new SAXParseException(e.getClass().getName(), null, e)); } catch (Exception ee) { } resetOnError(); - throw e; + // Wrap runtime exception + throw new FastInfosetException(e); } }