public class UnknownElementException extends UnknownEntityException
Element
层次发生。可能是被
element visitor表明来访者是前一个版本的语言创造。
ElementVisitor.visitUnknown(javax.lang.model.element.Element, P)
,
Serialized Form
Constructor and Description |
---|
UnknownElementException(Element e, Object p)
创建一个新的
UnknownElementException 。
|
Modifier and Type | Method and Description |
---|---|
Object |
getArgument()
返回额外的参数。
|
Element |
getUnknownElement()
返回未知元素。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownElementException(Element e, Object p)
UnknownElementException
。的
p
参数可用于在一个关于语境的未知元素中信息的额外的参数传递;例如,对
ElementVisitor
访问方法可能在他们的额外的参数传递。
e
-未知的元素,可能是
null
p
-一个额外的参数,可以
null
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.