File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -222,26 +222,12 @@ public void RollbackRetaining()
222
222
223
223
internal void BeginTransaction ( )
224
224
{
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 ( ) ) ;
233
226
}
234
227
235
228
internal void BeginTransaction ( FbTransactionOptions options )
236
229
{
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 ) ) ;
245
231
}
246
232
247
233
#endregion
You can’t perform that action at this time.
0 commit comments