jimu-decompiled/sources/com/safelib/TryCatchAspect.java
2025-05-13 19:24:51 +02:00

40 lines
1008 B
Java

package com.safelib;
import org.aspectj.lang.NoAspectBoundException;
import org.aspectj.lang.ProceedingJoinPoint;
/* loaded from: classes.dex */
public class TryCatchAspect {
private static /* synthetic */ Throwable a;
public static final /* synthetic */ TryCatchAspect b = null;
static {
try {
a();
} catch (Throwable th) {
a = th;
}
}
private static /* synthetic */ void a() {
b = new TryCatchAspect();
}
public static TryCatchAspect b() {
TryCatchAspect tryCatchAspect = b;
if (tryCatchAspect != null) {
return tryCatchAspect;
}
throw new NoAspectBoundException("com.safelib.TryCatchAspect", a);
}
public Object a(ProceedingJoinPoint proceedingJoinPoint) throws Throwable {
try {
return proceedingJoinPoint.a(proceedingJoinPoint.a());
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
}