| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.lang.model.type.UnknownTypeException
UnknownTypeException | public class UnknownTypeException extends RuntimeException (Code) | | Indicates that an unknown kind of type was encountered. This can
occur if the language evolves and new kinds of types are added to
the
TypeMirror hierarchy. May be thrown by a
to indicate that the visitor was created
for a prior version of the language.
author: Joseph D. Darcy author: Scott Seligman author: Peter von der Ahé version: 1.9 07/05/05 See Also: TypeVisitor.visitUnknown since: 1.6 |
Constructor Summary | |
public | UnknownTypeException(TypeMirror t, Object p) Creates a new
UnknownTypeException .The
p parameter may be used to pass in an additional argument with
information about the context in which the unknown type was
encountered; for example, the visit methods of
TypeVisitor may pass in their additional parameter. |
UnknownTypeException | public UnknownTypeException(TypeMirror t, Object p)(Code) | | Creates a new
UnknownTypeException .The
p parameter may be used to pass in an additional argument with
information about the context in which the unknown type was
encountered; for example, the visit methods of
TypeVisitor may pass in their additional parameter.
Parameters: t - the unknown type, may be null Parameters: p - an additional parameter, may be null |
getArgument | public Object getArgument()(Code) | | Returns the additional argument.
the additional argument |
getUnknownType | public TypeMirror getUnknownType()(Code) | | Returns the unknown type.
The value may be unavailable if this exception has been
serialized and then read back in.
the unknown type, or null if unavailable |
|
|
|