RestoreInvalideException.smali

.class public final Lcom/cmcm/safewallet/data/thwallet/exception/RestoreInvalideException;
.super Lcom/cmcm/safewallet/data/exception/SWException;
.source "RestoreInvalideException.kt"


# instance fields
.field private final error:I

.field private type:Lcom/cmcm/safewallet/data/thwallet/data/RegionType;
    .annotation build Lorg/jetbrains/annotations/Nullable;
    .end annotation
.end field


# direct methods
.method public constructor <init>(I)V
    .registers 2

    .prologue
    .line 25
    invoke-direct {p0}, Lcom/cmcm/safewallet/data/exception/SWException;-><init>()V

    iput p1, p0, Lcom/cmcm/safewallet/data/thwallet/exception/RestoreInvalideException;->error:I

    return-void
.end method

.method public constructor <init>(Lcom/cmcm/safewallet/data/thwallet/data/RegionType;I)V
    .registers 4
    .param p1    # Lcom/cmcm/safewallet/data/thwallet/data/RegionType;
        .annotation build Lorg/jetbrains/annotations/NotNull;
        .end annotation
    .end param

    .prologue
    const-string v0, "type"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    .line 20
    invoke-direct {p0}, Lcom/cmcm/safewallet/data/exception/SWException;-><init>()V

    iput-object p1, p0, Lcom/cmcm/safewallet/data/thwallet/exception/RestoreInvalideException;->type:Lcom/cmcm/safewallet/data/thwallet/data/RegionType;

    .line 21
    iput p2, p0, Lcom/cmcm/safewallet/data/thwallet/exception/RestoreInvalideException;->error:I

    return-void
.end method


# virtual methods
.method public final getError()I
    .registers 2

    .prologue
    .line 12
    iget v0, p0, Lcom/cmcm/safewallet/data/thwallet/exception/RestoreInvalideException;->error:I

    return v0
.end method

.method public final getType()Lcom/cmcm/safewallet/data/thwallet/data/RegionType;
    .registers 2
    .annotation build Lorg/jetbrains/annotations/Nullable;
    .end annotation

    .prologue
    .line 13
    iget-object v0, p0, Lcom/cmcm/safewallet/data/thwallet/exception/RestoreInvalideException;->type:Lcom/cmcm/safewallet/data/thwallet/data/RegionType;

    return-object v0
.end method

.method public final setType(Lcom/cmcm/safewallet/data/thwallet/data/RegionType;)V
    .registers 2
    .param p1    # Lcom/cmcm/safewallet/data/thwallet/data/RegionType;
        .annotation build Lorg/jetbrains/annotations/Nullable;
        .end annotation
    .end param

    .prologue
    .line 13
    iput-object p1, p0, Lcom/cmcm/safewallet/data/thwallet/exception/RestoreInvalideException;->type:Lcom/cmcm/safewallet/data/thwallet/data/RegionType;

    return-void
.end method