public class ThrowableAnnotationInfo extends AnnotationInfo
annotationValue, javaClass, javaMethod, javaMethodImpl| Constructor and Description |
|---|
ThrowableAnnotationInfo(java.lang.Class<?> throwableClass,
int annotationValue,
boolean serializable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.lang.String |
toString() |
getAnnotationValue, getJavaActualType, getJavaActualType, getJavaActualType, getJavaClass, getJavaMethod, getTypeClasspublic ThrowableAnnotationInfo(java.lang.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(java.lang.Object other)
equals in class AnnotationInfoother - The other object.public Status getStatus()
public int hashCode()
hashCode in class AnnotationInfopublic boolean isSerializable()
public java.lang.String toString()
toString in class AnnotationInfoCopyright © 2005-2024 Restlet.