public class ThrownExceptionDocumentation extends Documentation
deprecated, description, name, type, typeClass
Constructor and Description |
---|
ThrownExceptionDocumentation(java.lang.String name,
java.lang.String description)
Creates documentation for an exception that is thrown
|
ThrownExceptionDocumentation(java.lang.String type,
java.lang.String name,
java.lang.String description)
Creates documentation for an exception that is thrown
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
getDescription, getName, getNonNullDescription, getType, getTypeClass, hashCode, isDeprecated, setDeprecated, toString
public ThrownExceptionDocumentation(@NotNull java.lang.String name, @Nullable java.lang.String description)
name
- The name of the exceptiondescription
- A description of when it is thrownpublic ThrownExceptionDocumentation(@NotNull java.lang.String type, @NotNull java.lang.String name, @Nullable java.lang.String description)
name
- The name of the exceptiontype
- The type of the exception. This should match the name in most casesdescription
- A description of when it is thrownpublic boolean equals(@Nullable java.lang.Object other)
equals
in class Documentation