37 lines
871 B
Smali
37 lines
871 B
Smali
.class public Lcom/otaliastudios/cameraview/CameraException;
|
|
.super Ljava/lang/RuntimeException;
|
|
.source "CameraException.java"
|
|
|
|
|
|
# instance fields
|
|
.field public reason:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Lcom/otaliastudios/cameraview/CameraException;->reason:I
|
|
|
|
iput p1, p0, Lcom/otaliastudios/cameraview/CameraException;->reason:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/Throwable;I)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Lcom/otaliastudios/cameraview/CameraException;->reason:I
|
|
|
|
iput p2, p0, Lcom/otaliastudios/cameraview/CameraException;->reason:I
|
|
|
|
return-void
|
|
.end method
|