FormatException.smali
.class public final Lcom/google/zxing/FormatException;
.super Lcom/google/zxing/ReaderException;
.source "FormatException.java"
# static fields
.field private static final INSTANCE:Lcom/google/zxing/FormatException;
# direct methods
.method static constructor <clinit>()V
.registers 2
.line 28
new-instance v0, Lcom/google/zxing/FormatException;
invoke-direct {v0}, Lcom/google/zxing/FormatException;-><init>()V
.line 30
sput-object v0, Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException;
sget-object v1, Lcom/google/zxing/FormatException;->NO_TRACE:[Ljava/lang/StackTraceElement;
invoke-virtual {v0, v1}, Lcom/google/zxing/FormatException;->setStackTrace([Ljava/lang/StackTraceElement;)V
return-void
.end method
.method private constructor <init>()V
.registers 1
.line 33
invoke-direct {p0}, Lcom/google/zxing/ReaderException;-><init>()V
return-void
.end method
.method private constructor <init>(Ljava/lang/Throwable;)V
.registers 2
.line 37
invoke-direct {p0, p1}, Lcom/google/zxing/ReaderException;-><init>(Ljava/lang/Throwable;)V
return-void
.end method
.method public static getFormatInstance()Lcom/google/zxing/FormatException;
.registers 1
.line 41
sget-boolean v0, Lcom/google/zxing/FormatException;->isStackTrace:Z
if-eqz v0, :cond_a
new-instance v0, Lcom/google/zxing/FormatException;
invoke-direct {v0}, Lcom/google/zxing/FormatException;-><init>()V
return-object v0
:cond_a
sget-object v0, Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException;
return-object v0
.end method
.method public static getFormatInstance(Ljava/lang/Throwable;)Lcom/google/zxing/FormatException;
.registers 2
.line 45
sget-boolean v0, Lcom/google/zxing/FormatException;->isStackTrace:Z
if-eqz v0, :cond_a
new-instance v0, Lcom/google/zxing/FormatException;
invoke-direct {v0, p0}, Lcom/google/zxing/FormatException;-><init>(Ljava/lang/Throwable;)V
return-object v0
:cond_a
sget-object p0, Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException;
return-object p0
.end method