langtools/test/tools/javadoc/sampleapi/lib/sampleapi/generator/PackageGenerator.java
changeset 37641 6949903ba85a
parent 33919 e9fccc09cfc6
equal deleted inserted replaced
37640:42e5136a367c 37641:6949903ba85a
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, 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.
     7  * published by the Free Software Foundation.
   123                 if (!(node instanceof Element))
   123                 if (!(node instanceof Element))
   124                     continue;
   124                     continue;
   125                 processTopLevel((Element)node);
   125                 processTopLevel((Element)node);
   126             }
   126             }
   127         } catch (ParserConfigurationException | SAXException | IOException e) {
   127         } catch (ParserConfigurationException | SAXException | IOException e) {
   128             throw new Fault("Error parsing dataset " + dsName);
   128             throw new Fault("Error parsing dataset " + dsName, e);
   129         }
   129         }
   130 
   130 
   131         fx = false;
   131         fx = false;
   132     }
   132     }
   133 
   133