- 
- All Superinterfaces:
- Tag
 
 @Deprecated(since="9", forRemoval=true) public interface ThrowsTag extends Tag Deprecated, for removal: This API element is subject to removal in a future version.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.Represents a @throws or @exception documentation tag. Parses and holds the exception name and exception comment. Note: @exception is a backwards compatible synonymy for @throws.- See Also:
- ExecutableMemberDoc.throwsTags()
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ClassDocexception()Deprecated, for removal: This API element is subject to removal in a future version.Return aClassDocthat represents the exception.StringexceptionComment()Deprecated, for removal: This API element is subject to removal in a future version.Return the exception comment associated with thisThrowsTag.StringexceptionName()Deprecated, for removal: This API element is subject to removal in a future version.Return the name of the exception associated with thisThrowsTag.TypeexceptionType()Deprecated, for removal: This API element is subject to removal in a future version.Return the type of the exception associated with thisThrowsTag.- 
Methods declared in interface com.sun.javadoc.TagfirstSentenceTags, holder, inlineTags, kind, name, position, text, toString
 
- 
 
- 
- 
- 
Method Detail- 
exceptionNameString exceptionName() Deprecated, for removal: This API element is subject to removal in a future version.Return the name of the exception associated with thisThrowsTag.- Returns:
- name of the exception.
 
 - 
exceptionCommentString exceptionComment() Deprecated, for removal: This API element is subject to removal in a future version.Return the exception comment associated with thisThrowsTag.- Returns:
- exception comment.
 
 - 
exceptionClassDoc exception() Deprecated, for removal: This API element is subject to removal in a future version.Return aClassDocthat represents the exception. If the type of the exception is a type variable, return theClassDocof its erasure.This method cannot accommodate certain generic type constructs. The exceptionTypemethod should be used instead.- Returns:
- ClassDocthat represents the exception.
- See Also:
- exceptionType()
 
 - 
exceptionTypeType exceptionType() Deprecated, for removal: This API element is subject to removal in a future version.Return the type of the exception associated with thisThrowsTag. This may be aClassDocor aTypeVariable.- Returns:
- the type of the exception.
- Since:
- 1.5
 
 
- 
 
-