Skip to content

Commit 4ef2411

Browse files
committed
DNET-251
1 parent 7310277 commit 4ef2411

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbTransaction.cs

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -222,26 +222,12 @@ public void RollbackRetaining()
222222

223223
internal void BeginTransaction()
224224
{
225-
try
226-
{
227-
_transaction = _connection.InnerConnection.Database.BeginTransaction(BuildTpb());
228-
}
229-
catch (IscException ex)
230-
{
231-
throw new FbException(ex.Message, ex);
232-
}
225+
_transaction = _connection.InnerConnection.Database.BeginTransaction(BuildTpb());
233226
}
234227

235228
internal void BeginTransaction(FbTransactionOptions options)
236229
{
237-
try
238-
{
239-
_transaction = _connection.InnerConnection.Database.BeginTransaction(BuildTpb(options));
240-
}
241-
catch (IscException ex)
242-
{
243-
throw new FbException(ex.Message, ex);
244-
}
230+
_transaction = _connection.InnerConnection.Database.BeginTransaction(BuildTpb(options));
245231
}
246232

247233
#endregion

0 commit comments

Comments
 (0)