This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.lang.model.element
exception UnknownAnnotationValueException
- All Implemented Interfaces:
- Serializable
public exception UnknownAnnotationValueException
extends RuntimeException
Indicates that an unknown kind of annotation value was encountered.
This can occur if the language evolves and new kinds of annotation
values can be stored in an annotation. May be thrown by an
{@linkplain AnnotationValueVisitor annotation value visitor} to
indicate that the visitor was created for a prior version of the
language.
Constructor Summary |
Creates a new .
|
Method Summary |
Object |
Returns the additional argument.
|
AnnotationValue |
Returns the unknown annotation value.
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnknownAnnotationValueException
public UnknownAnnotationValueException(AnnotationValue av,
Object p)
-
Creates a new {@code UnknownAnnotationValueException}. The
{@code p} parameter may be used to pass in an additional
argument with information about the context in which the
unknown annotation value was encountered; for example, the
visit methods of {@link AnnotationValueVisitor} may pass in
their additional parameter.
- Parameters:
av
- the unknown annotation value, may be {@code null}
p
- an additional parameter, may be {@code null}
getArgument
public Object getArgument()
-
Returns the additional argument.
- Returns:
- the additional argument
getUnknownAnnotationValue
public AnnotationValue getUnknownAnnotationValue()
-
Returns the unknown annotation value.
The value may be unavailable if this exception has been
serialized and then read back in.
- Returns:
- the unknown element, or {@code null} if unavailable
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.