langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/LayoutParser.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
91 InputStream in = configuration.getBuilderXML(); |
91 InputStream in = configuration.getBuilderXML(); |
92 saxParser.parse(in, this); |
92 saxParser.parse(in, this); |
93 return xmlElementsMap.get(root); |
93 return xmlElementsMap.get(root); |
94 } catch (Throwable t) { |
94 } catch (Throwable t) { |
95 t.printStackTrace(); |
95 t.printStackTrace(); |
96 throw new DocletAbortException(); |
96 throw new DocletAbortException(t); |
97 } |
97 } |
98 } |
98 } |
99 |
99 |
100 /** |
100 /** |
101 * {@inheritDoc} |
101 * {@inheritDoc} |