src/share/classes/com/sun/tools/doclets/formats/html/markup/Comment.java

changeset 1985
0e6577980181
parent 1364
8db45b13526e
child 2525
2eb010b6cb22
equal deleted inserted replaced
1984:189942cdf585 1985:0e6577980181
1 /* 1 /*
2 * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 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
61 * @throws DocletAbortException this method will always throw a 61 * @throws DocletAbortException this method will always throw a
62 * DocletAbortException because it 62 * DocletAbortException because it
63 * is not supported. 63 * is not supported.
64 */ 64 */
65 public void addContent(Content content) { 65 public void addContent(Content content) {
66 throw new DocletAbortException(); 66 throw new DocletAbortException("not supported");
67 } 67 }
68 68
69 /** 69 /**
70 * This method is not supported by the class. 70 * This method is not supported by the class.
71 * 71 *
73 * @throws DocletAbortException this method will always throw a 73 * @throws DocletAbortException this method will always throw a
74 * DocletAbortException because it 74 * DocletAbortException because it
75 * is not supported. 75 * is not supported.
76 */ 76 */
77 public void addContent(String stringContent) { 77 public void addContent(String stringContent) {
78 throw new DocletAbortException(); 78 throw new DocletAbortException("not supported");
79 } 79 }
80 80
81 /** 81 /**
82 * {@inheritDoc} 82 * {@inheritDoc}
83 */ 83 */

mercurial