Skip to content

Commit ca7afcf

Browse files
committed
android.database.sqlite.SQLiteConstraintException is no longer used, use normal exception with sorm2
1 parent 3627db1 commit ca7afcf

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/HelperFriend.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -739,12 +739,6 @@ public void run()
739739
long res = orma.insertIntoFriendList(f);
740740
Log.i(TAG, "friend_request:insert:002:res=" + res);
741741
}
742-
catch (android.database.sqlite.SQLiteConstraintException e)
743-
{
744-
// e.printStackTrace();
745-
Log.i(TAG, "friend_request:insert:EE1:" + e.getMessage());
746-
return;
747-
}
748742
catch (Exception e)
749743
{
750744
e.printStackTrace();

android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/HelperGeneric.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ static void set_g_opts(String key, String value)
14111411
orma.insertIntoTRIFADatabaseGlobalsNew(g_opts);
14121412
Log.i(TAG, "set_g_opts:(INSERT):key=" + key + " value=" + "xxxxxxxxxxxxx");
14131413
}
1414-
catch (android.database.sqlite.SQLiteConstraintException e)
1414+
catch (Exception e)
14151415
{
14161416
// e.printStackTrace();
14171417
try

0 commit comments

Comments
 (0)