public class UnknownAnnotationValueException extends UnknownEntityException
| Constructor and Description |
|---|
UnknownAnnotationValueException(AnnotationValue av, Object p)
创建一个新的
UnknownAnnotationValueException。
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getArgument()
返回额外的参数。
|
AnnotationValue |
getUnknownAnnotationValue()
返回未知的注释值。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnknownAnnotationValueException(AnnotationValue av, Object p)
UnknownAnnotationValueException。的
p参数可用于在一个关于语境的未知诠释价值遇到额外的参数传递信息;例如,对
AnnotationValueVisitor访问方法可能在他们的额外的参数传递。
av -未知的标注值,可以
null
p -一个额外的参数,可以
null
public AnnotationValue getUnknownAnnotationValue()
null如果不可用
public Object getArgument()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.