MCPcopy Create free account
hub / github.com/e2wugui/zeze / getRootCause

Method getRootCause

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Task.java:551–558  ·  view source on GitHub ↗
(@NotNull Throwable e)

Source from the content-addressed store, hash-verified

549 }
550
551 public static @NotNull Throwable getRootCause(@NotNull Throwable e) {
552 for (; ; ) {
553 var c = e.getCause();
554 if (c == null)
555 return e;
556 e = c;
557 }
558 }
559
560 public static long call(@NotNull FuncLong func, @Nullable Protocol<?> p,
561 @Nullable ProtocolErrorHandle actionWhenError, @Nullable String aName) {

Callers 3

callMethod · 0.95
acquireModifyMethod · 0.95
acquireModifyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected