java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.lang.model.type.MirroredTypesException
- 所有已实现的接口:
-
Serializable
- 直接已知的子类:
-
MirroredTypeException
当应用程序尝试访问与
Class
对象对应的每个TypeMirror
序列时抛出。
- 自版本:
- 1.6
- 参见:
-
Constructor Summary
ConstructorDescriptionMirroredTypesException
(List<? extends TypeMirror> types) 为指定类型构造一个新的MirroredTypesException。 -
Method Summary
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MirroredTypesException
为指定类型构造一个新的MirroredTypesException。- 参数:
-
types
- 正在访问的类型
-
-
Method Details
-
getTypeMirrors
返回与正在访问的类型对应的类型镜像。如果此异常已被序列化然后重新读取,则可能无法使用类型镜像。- 返回:
-
构造顺序中的类型镜像,如果不可用则返回
null
-