Serializablepublic class UnknownElementException extends UnknownEntityException
Element hierarchy. May be thrown by an
element visitor to indicate that the
visitor was created for a prior version of the language.ElementVisitor.visitUnknown(javax.lang.model.element.Element, P),
序列化表格| 构造器 | 说明 |
|---|---|
UnknownElementException(Element e,
Object p) |
Creates a new
UnknownElementException. |
public UnknownElementException(Element e, Object p)
UnknownElementException. The p
parameter may be used to pass in an additional argument with
information about the context in which the unknown element was
encountered; for example, the visit methods of ElementVisitor may pass in their additional parameter.e - the unknown element, may be nullp - an additional parameter, may be nullpublic Element getUnknownElement()
null if unavailablepublic Object getArgument()