lombok.core
Class AnnotationValues.AnnotationValueDecodeFail
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
lombok.core.AnnotationValues.AnnotationValueDecodeFail
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- AnnotationValues<A extends Annotation>
public static class AnnotationValues.AnnotationValueDecodeFail
- extends RuntimeException
Thrown on the fly if an actual annotation instance procured via the AnnotationValues.getInstance() method is queried
for a method for which this AnnotationValues instance either doesn't have a guess or can't manage to fit
the guess into the required data type.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
idx
public final int idx
- The index into an array initializer (e.g. if the second value in an array initializer is
an integer constant expression like '5+SomeOtherClass.CONSTANT', this exception will be thrown,
and you'll get a '1' for idx.
owner
public final AnnotationValues.AnnotationValue owner
- The AnnotationValue object that goes with the annotation method for which the failure occurred.
AnnotationValues.AnnotationValueDecodeFail
public AnnotationValues.AnnotationValueDecodeFail(AnnotationValues.AnnotationValue owner,
String msg,
int idx)
Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.