public interface ThrowsTag extends Tag
ExecutableMemberDoc.throwsTags()
Modifier and Type | Method and Description |
---|---|
ClassDoc |
exception()
Return a
ClassDoc that represents the exception. |
String |
exceptionComment()
Return the exception comment
associated with this
ThrowsTag . |
String |
exceptionName()
Return the name of the exception
associated with this
ThrowsTag . |
Type |
exceptionType()
Return the type of the exception
associated with this
ThrowsTag . |
firstSentenceTags, holder, inlineTags, kind, name, position, text, toString
String exceptionName()
ThrowsTag
.String exceptionComment()
ThrowsTag
.ClassDoc exception()
ClassDoc
that represents the exception.
If the type of the exception is a type variable, return the
ClassDoc
of its erasure.
This method cannot accommodate certain generic type
constructs. The exceptionType
method
should be used instead.
ClassDoc
that represents the exception.exceptionType()
Type exceptionType()
ThrowsTag
.
This may be a ClassDoc
or a TypeVariable
. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2015, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.