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.
|
boolean |
isSerializable()
Returns the serialize indicator parsed from the annotation value.
|
String |
toString() |
getAnnotationValue, getJavaActualType, getJavaActualType, getJavaActualType, getJavaClass, getJavaMethod, getTypeClass
public 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 AnnotationInfo
other
- The other object.public Status getStatus()
public boolean isSerializable()
public String toString()
toString
in class AnnotationInfo
Copyright © 2005–2019. All rights reserved.