public class AnnotationTypeMismatchException extends RuntimeException
AnnotatedElement
, Serialized Form
Constructor and Description |
---|
AnnotationTypeMismatchException(方法 element, String foundType)
为指定的注释类型元素构造AnnotationTypeMismatchException,并找到数据类型。
|
Modifier and Type | Method and Description |
---|---|
方法 |
element()
返回错误类型元素的
方法对象。
|
String |
foundType()
返回错误类型元素中找到的数据类型。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.