Skip to content

Commit

Permalink
Fix throw warning
Browse files Browse the repository at this point in the history
  • Loading branch information
praeclarum committed Mar 27, 2024
1 parent 3e43cbc commit 352294f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SQLite.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2009-2021 Krueger Systems, Inc.
// Copyright (c) 2009-2024 Krueger Systems, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -2003,7 +2003,7 @@ public int Update (object obj, Type objType)
throw NotNullConstraintViolationException.New (ex, map, obj);
}

throw ex;
throw;
}

if (rowsAffected > 0)
Expand Down
2 changes: 1 addition & 1 deletion src/SQLiteAsync.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2012-2021 Krueger Systems, Inc.
// Copyright (c) 2012-2024 Krueger Systems, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 352294f

Please sign in to comment.