JSONException.smali
920 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.class public Lorg/json/alipay/JSONException;
.super Ljava/lang/Exception;
# instance fields
.field private cause:Ljava/lang/Throwable;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.registers 2
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Throwable;)V
.registers 3
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
iput-object p1, p0, Lorg/json/alipay/JSONException;->cause:Ljava/lang/Throwable;
return-void
.end method
# virtual methods
.method public getCause()Ljava/lang/Throwable;
.registers 2
iget-object v0, p0, Lorg/json/alipay/JSONException;->cause:Ljava/lang/Throwable;
return-object v0
.end method