| Package | Description |
|---|---|
| org.apache.flink.runtime.throwable |
| Modifier and Type | Method and Description |
|---|---|
static ThrowableType |
ThrowableClassifier.getThrowableType(Throwable cause)
Classify the exceptions by extracting the
ThrowableType from a potential ThrowableAnnotation. |
static ThrowableType |
ThrowableType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrowableType[] |
ThrowableType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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.