public class UnknownTypeException extends UnknownEntityException
TypeMirror层次发生。可能是被一个
type visitor表明来访者是前一个版本的语言创造。
TypeVisitor.visitUnknown(javax.lang.model.type.TypeMirror, P),
Serialized Form
| Constructor and Description |
|---|
UnknownTypeException(TypeMirror t, Object p)
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getArgument()
返回额外的参数。
|
TypeMirror |
getUnknownType()
返回未知类型。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnknownTypeException(TypeMirror t, Object p)
t -未知类型,可以
null
p -一个额外的参数,可以
null
public TypeMirror getUnknownType()
null如果不可用
public Object getArgument()
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.