Indicates that an unknown kind of element was encountered. This can occur if the language evolves and new kinds of elements are added to the Element hierarchy. May be thrown by an javax.lang.model.element.element visitor to indicate that the visitor was created for a prior version of the language.
Indicates that an unknown kind of element was encountered. This can occur if the language evolves and new kinds of elements are added to the Element hierarchy. May be thrown by an javax.lang.model.element.element visitor to indicate that the visitor was created for a prior version of the language.
(->unknown-element-exception e p)
Constructor.
Creates a new 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 null - javax.lang.model.element.Element
p - an additional parameter, may be null - java.lang.Object
Constructor. Creates a new 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 null - `javax.lang.model.element.Element` p - an additional parameter, may be null - `java.lang.Object`
(get-argument this)
Returns the additional argument.
returns: the additional argument - java.lang.Object
Returns the additional argument. returns: the additional argument - `java.lang.Object`
(get-unknown-element this)
Returns the unknown element. The value may be unavailable if this exception has been serialized and then read back in.
returns: the unknown element, or null if unavailable - javax.lang.model.element.Element
Returns the unknown element. The value may be unavailable if this exception has been serialized and then read back in. returns: the unknown element, or null if unavailable - `javax.lang.model.element.Element`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close