summaryrefslogtreecommitdiff
path: root/javax/lang/model/element/AnnotationValueVisitor.java
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2013-01-04 13:42:41 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2013-01-04 13:42:41 +0000
commit46a0524af3a977f53280eef9d53a6685d0315304 (patch)
tree884237121648561f52ebf3e7d33e6f627b5f0d95 /javax/lang/model/element/AnnotationValueVisitor.java
parentcde3d770016fc1131851d23763c1ce450fba6587 (diff)
downloadclasspath-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.java2
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);