Serializable
public class UnknownTreeException extends RuntimeException
Tree
hierarchy. May be thrown by a
tree visitor to indicate that the
visitor was created for a prior version of the language.Constructor | Description |
---|---|
UnknownTreeException(Tree t,
Object p) |
Creates a new
UnknownTreeException . |
Modifier and Type | Method | Description |
---|---|---|
Object |
getArgument() |
Returns the additional argument.
|
Tree |
getUnknownTree() |
Returns the unknown tree.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownTreeException(Tree t, Object p)
UnknownTreeException
. 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 TreeVisitor
may pass in their additional parameter.t
- the unknown tree, may be null
p
- an additional parameter, may be null
public Tree getUnknownTree()
null
if unavailablepublic Object getArgument()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1