com.sun.javadoc.ThrowsTag Java Examples

The following examples show how to use com.sun.javadoc.ThrowsTag. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SwaggerPropertiesDoclet.java    From springfox-javadoc with Apache License 2.0 5 votes vote down vote up
private static void processThrows(
  Properties properties,
  ThrowsTag[] throwsTags,
  StringBuilder path) {

    for (int i = 0; i < throwsTags.length; i++) {
        String key = path.toString() + ".throws." + i;
        String value = throwsTags[i].exceptionType().typeName() + "-" + throwsTags[i].exceptionComment();
        saveProperty(properties, key, value);
    }
}
 
Example #2
Source File: ProgrammaticWrappingProxyInstaller.java    From sarl with Apache License 2.0 4 votes vote down vote up
@Override
public ThrowsTag[] throwsTags() {
	return this.delegate.throwsTags();
}
 
Example #3
Source File: ProgrammaticWrappingProxyInstaller.java    From sarl with Apache License 2.0 4 votes vote down vote up
@Override
public ThrowsTag[] throwsTags() {
	return this.delegate.throwsTags();
}
 
Example #4
Source File: ProgrammaticWrappingProxyInstaller.java    From sarl with Apache License 2.0 4 votes vote down vote up
@Override
public ThrowsTag[] throwsTags() {
	return this.delegate.throwsTags();
}
 
Example #5
Source File: ThrowsTagRenderer.java    From markdown-doclet with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void render(ThrowsTag tag, StringBuilder target, MarkdownDoclet doclet) {
    target.append(tag.name())
            .append(' ').append(tag.exceptionName())
            .append(' ').append(TagRendering.simplifySingleParagraph(doclet.toHtml(tag.exceptionComment())));
}