< prev index next >

jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/SchemaCache.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 92,102 **** schemaFactory.setResourceResolver(resourceResolver); } schema = schemaFactory.newSchema(source); } catch (IOException | SAXException e) { ! throw new InternalError(e); } finally { if (resourceResolver != null) resourceResolver.closeStreams(); } } } --- 92,104 ---- schemaFactory.setResourceResolver(resourceResolver); } schema = schemaFactory.newSchema(source); } catch (IOException | SAXException e) { ! InternalError ie = new InternalError(e.getMessage()); ! ie.initCause(e); ! throw ie; } finally { if (resourceResolver != null) resourceResolver.closeStreams(); } } }
*** 219,225 **** @Override public void setCertifiedText(boolean certifiedText) { } } - - --- 221,225 ----
< prev index next >