src/share/classes/com/sun/tools/doclets/internal/toolkit/AbstractDoclet.java

changeset 3315
6f0746b6de9f
parent 2071
2c24a04ebfb4
child 3446
e468915bad3a
equal deleted inserted replaced
3314:7b6c1bfeeb03 3315:6f0746b6de9f
1 /* 1 /*
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 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. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
80 } 80 }
81 try { 81 try {
82 doclet.startGeneration(root); 82 doclet.startGeneration(root);
83 } catch (Configuration.Fault f) { 83 } catch (Configuration.Fault f) {
84 root.printError(f.getMessage()); 84 root.printError(f.getMessage());
85 return false;
86 } catch (FatalError fe) {
85 return false; 87 return false;
86 } catch (DocletAbortException e) { 88 } catch (DocletAbortException e) {
87 Throwable cause = e.getCause(); 89 Throwable cause = e.getCause();
88 if (cause != null) { 90 if (cause != null) {
89 if (cause.getLocalizedMessage() != null) { 91 if (cause.getLocalizedMessage() != null) {

mercurial