| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.throwable |
| 限定符和类型 | 方法和说明 |
|---|---|
static ThrowableType |
ThrowableClassifier.getThrowableType(Throwable cause)
Classify the exceptions by extracting the
ThrowableType from a potential ThrowableAnnotation. |
static ThrowableType |
ThrowableType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ThrowableType[] |
ThrowableType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Optional<Throwable> |
ThrowableClassifier.findThrowableOfThrowableType(Throwable throwable,
ThrowableType throwableType)
Checks whether a throwable chain contains a specific throwable type and returns the
corresponding throwable.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.