@Internal public class AWSExceptionHandler extends Object
FatalExceptionClassifier.isFatal(Throwable,
Consumer). FatalExceptionClassifier.isFatal(Throwable, Consumer) returns `false` for a
fatal exception and `true` for a non-fatal exception.| Modifier and Type | Method and Description |
|---|---|
boolean |
consumeIfFatal(Throwable t,
java.util.function.Consumer<Exception> consumer)
|
static AWSExceptionHandler |
withClassifier(org.apache.flink.connector.base.sink.throwable.FatalExceptionClassifier classifier) |
public static AWSExceptionHandler withClassifier(org.apache.flink.connector.base.sink.throwable.FatalExceptionClassifier classifier)
public boolean consumeIfFatal(Throwable t, java.util.function.Consumer<Exception> consumer)
Copyright © 2022–2024 The Apache Software Foundation. All rights reserved.