We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7b2aa commit b7236a8Copy full SHA for b7236a8
core/src/main/java/com/dtstack/flink/sql/exception/ExceptionTrace.java
@@ -20,21 +20,4 @@ public static String traceOriginalCause(Throwable e) {
20
}
21
return errorMsg;
22
23
-
24
- /**
25
- * 根据异常的种类来判断是否需要强制跳过Flink的重启{@link SuppressRestartsException}
26
- * @param e exception
27
- * @param errorMsg 需要抛出的异常信息
28
- */
29
- public static void dealExceptionWithSuppressStart(Exception e, String errorMsg) {
30
- if (e instanceof SuppressRestartsException) {
31
- throw new SuppressRestartsException(
32
- new Throwable(
33
- errorMsg
34
- )
35
- );
36
- } else {
37
- throw new RuntimeException(errorMsg);
38
- }
39
40
0 commit comments