com.appnexus.oas.mobilesdk.errorhandler.XErrorHandler.class Maven / Gradle / Ivy
???? 2 ? 5com/appnexus/oas/mobilesdk/errorhandler/XErrorHandler java/lang/Object 8com/appnexus/oas/mobilesdk/errorhandler/IAdErrorListener TABLE_ERROR Ljava/lang/String;
ConstantValue table_error_log COLUMN_ERROR_CODE
error_code COLUMN_TIME_STAMP
time_stamp COLUMN_ERROR_MESSAGE ()V Code
error_message LineNumberTable LocalVariableTable
this 7Lcom/appnexus/oas/mobilesdk/errorhandler/XErrorHandler; onAdError /(Landroid/content/Context;Ljava/lang/String;I)V $ 'com/appnexus/oas/mobilesdk/db/DBManager
# & ' (Landroid/content/Context;)V
# ) * + getWritableDatabase *()Landroid/database/sqlite/SQLiteDatabase;
- . / addRecord >(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;I)J context Landroid/content/Context; msg errorCode I .(Landroid/content/Context;Ljava/lang/String;)V 1(Landroid/content/Context;Ljava/lang/Throwable;)V
8 : 9 java/lang/Throwable ; < getLocalizedMessage ()Ljava/lang/String; throwable Ljava/lang/Throwable; @ android/content/ContentValues
?
? C D E put '(Ljava/lang/String;Ljava/lang/String;)V
G I H java/util/Calendar J K getInstance ()Ljava/util/Calendar;
G M N O getTime ()Ljava/util/Date;
Q S R java/util/Date T < toString
V X W java/lang/Integer Y Z valueOf (I)Ljava/lang/Integer;
? \ D ] ((Ljava/lang/String;Ljava/lang/Integer;)V
_ a ` &android/database/sqlite/SQLiteDatabase b c insert F(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J
_ e f g isOpen ()Z
_ i j close???????? n java/lang/Exception db (Landroid/database/sqlite/SQLiteDatabase; errorMessage values Landroid/content/ContentValues; e Ljava/lang/Exception;
StackMapTable x java/lang/String
getRecords C(Landroid/database/sqlite/SQLiteDatabase;)Landroid/database/Cursor; | _id
_ ~ ? query ?(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor; ? i ? android/database/Cursor c Landroid/database/Cursor;
SourceFile XErrorHandler.java !
&