public class UnknownTypeException extends UnknownEntityException
TypeVisitor.visitUnknown(javax.lang.model.type.TypeMirror, P) ,
Serialized Form
| Constructor and Description |
|---|
UnknownTypeException(TypeMirror t, Object p)
创建一个新的 UnknownTypeException .The p参数可以用于在用约在其中遇到未知的类型的上下文信息的附加参数来传递;
例如, TypeVisitor的访问方法可能会传入其附加参数。
|
| 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)
UnknownTypeException .The p参数可以用于在用约在其中遇到未知的类型的上下文信息的附加参数来传递;
例如, TypeVisitor的访问方法可能会传递其附加参数。
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.