diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2013-01-04 13:42:41 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2013-01-04 13:42:41 +0000 |
commit | 46a0524af3a977f53280eef9d53a6685d0315304 (patch) | |
tree | 884237121648561f52ebf3e7d33e6f627b5f0d95 /javax/lang/model/element/AnnotationValueVisitor.java | |
parent | cde3d770016fc1131851d23763c1ce450fba6587 (diff) | |
download | classpath-46a0524af3a977f53280eef9d53a6685d0315304.tar.gz |
Add missing exception classes in javax.lang.model.element.* and javax.lang.model.type.*.
This allows ecj 3.8.0 to build without modification.
2013-01-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/lang/model/element/AnnotationValueVisitor.java:
(visitUnknown(AnnotationValue,P)): Mention throwing of
UnknownAnnotationValueException in documentation.
* javax/lang/model/element/ElementVisitor.java:
(visitUnknown(Element,P)): Likewise for
UnknownElementException.
* javax/lang/model/element/UnknownAnnotationValueException.java:
Implemented.
(serialVersionUID): New field.
(annValue): Likewise.
(param): Likewise.
(UnknownAnnotationValueException(AnnotationValue,Object)):
Implemented.
(getArgument()): Likewise.
(getUnknownAnnotationValue()): Likewise.
* javax/lang/model/element/UnknownElementException.java,
Implemented.
(serialVersionUID): New field.
(element): Likewise.
(param): Likewise.
(UnknownElementException(Element,Object)):
Implemented.
(getArgument()): Likewise.
(getUnknownElement()): Likewise.
* javax/lang/model/type/MirroredTypeException.java,
Implemented.
(serialVersionUID): New field.
(mirror): Likewise.
(MirroredTypeException(TypeMirror)): Implemented.
(getTypeMirror()): Likewise.
* javax/lang/model/type/MirroredTypesException.java,
Implemented.
(serialVersionUID): New field.
(mirrors): Likewise.
(MirroredTypeException(List)): Implemented.
(getTypeMirrors()): Likewise.
* javax/lang/model/type/TypeVisitor.java,
(visitUnknown(TypeMirror,P)): Mention throwing of
UnknownTypeException in documentation.
* javax/lang/model/type/UnknownTypeException.java,
Implemented.
(serialVersionUID): New field.
(type): Likewise.
(param): Likewise.
(UnknownTypeException(TypeMirror,Object)):
Implemented.
(getArgument()): Likewise.
(getUnknownType()): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Diffstat (limited to 'javax/lang/model/element/AnnotationValueVisitor.java')
-rw-r--r-- | javax/lang/model/element/AnnotationValueVisitor.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/javax/lang/model/element/AnnotationValueVisitor.java b/javax/lang/model/element/AnnotationValueVisitor.java index 141aed6df..74229eb55 100644 --- a/javax/lang/model/element/AnnotationValueVisitor.java +++ b/javax/lang/model/element/AnnotationValueVisitor.java @@ -218,6 +218,8 @@ public interface AnnotationValueVisitor<R,P> * @param param the additional parameter, specific to the visitor. * May be {@code null} if permitted by the visitor. * @return the return value specific to the visitor. + * @throws UnknownAnnotationValueException if the implementation + * chooses to. */ R visitUnknown(AnnotationValue value, P param); |