public class ThrowableAnnotationInfo extends AnnotationInfo
annotationValue, javaClass, javaMethod, javaMethodImpl| Constructor and Description |
|---|
ThrowableAnnotationInfo(Class<?> throwableClass,
int annotationValue,
boolean serializable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Indicates if the current object is equal to the given object.
|
Status |
getStatus()
Returns the status parsed from the annotation value.
|
int |
hashCode() |
boolean |
isSerializable()
Returns the serialize indicator parsed from the annotation value.
|
String |
toString() |
getAnnotationValue, getJavaActualType, getJavaActualType, getJavaActualType, getJavaClass, getJavaMethod, getTypeClasspublic ThrowableAnnotationInfo(Class<?> throwableClass, int annotationValue, boolean serializable)
throwableClass - The class or interface that hosts the annotated Java
method.annotationValue - The annotation value containing the HTTP error code.serializable - Indicates if the Throwable should be
serialized.public boolean equals(Object other)
equals in class AnnotationInfoother - The other object.public Status getStatus()
public int hashCode()
hashCode in class AnnotationInfopublic boolean isSerializable()
public String toString()
toString in class AnnotationInfoCopyright © 2005–2025. All rights reserved.