.class public final Lorg/apache/http/util/ExceptionUtils; .super Ljava/lang/Object; .source "ExceptionUtils.java" # annotations .annotation runtime Ljava/lang/Deprecated; .end annotation # static fields .field private static final INIT_CAUSE_METHOD:Ljava/lang/reflect/Method; # direct methods .method static constructor ()V .registers 1 .line 43 invoke-static {}, Lorg/apache/http/util/ExceptionUtils;->getInitCauseMethod()Ljava/lang/reflect/Method; move-result-object v0 sput-object v0, Lorg/apache/http/util/ExceptionUtils;->INIT_CAUSE_METHOD:Ljava/lang/reflect/Method; return-void .end method .method private constructor ()V .registers 1 .line 79 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method private static getInitCauseMethod()Ljava/lang/reflect/Method; .registers 3 const/4 v0, 0x1 .line 56 :try_start_1 new-array v0, v0, [Ljava/lang/Class; const-class v1, Ljava/lang/Throwable; const/4 v2, 0x0 aput-object v1, v0, v2 .line 57 const-class v1, Ljava/lang/Throwable; const-string v2, "initCause" invoke-virtual {v1, v2, v0}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; move-result-object v0 :try_end_10 .catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_10} :catch_11 return-object v0 :catch_11 const/4 v0, 0x0 return-object v0 .end method .method public static initCause(Ljava/lang/Throwable;Ljava/lang/Throwable;)V .registers 3 .line 70 sget-object v0, Lorg/apache/http/util/ExceptionUtils;->INIT_CAUSE_METHOD:Ljava/lang/reflect/Method; if-eqz v0, :cond_b .line 72 :try_start_4 filled-new-array {p1}, [Ljava/lang/Object; move-result-object p1 invoke-virtual {v0, p0, p1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; :try_end_b .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_b} :catch_b :catch_b :cond_b return-void .end method