mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
18.52.2015 58e42cdaa28e32c1225deda4cfeab261d7156496
opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/EntryContainer.java
@@ -1522,20 +1522,10 @@
        entryCache.putEntry(entry, backend, entryID.longValue());
      }
    }
    catch (DatabaseException databaseException)
    catch (DatabaseException | DirectoryException | CanceledOperationException e)
    {
      EntryContainer.transactionAbort(txn);
      throw databaseException;
    }
    catch (DirectoryException directoryException)
    {
      EntryContainer.transactionAbort(txn);
      throw directoryException;
    }
    catch (CanceledOperationException coe)
    {
      EntryContainer.transactionAbort(txn);
      throw coe;
      throw e;
    }
    catch (Exception e)
    {
@@ -1711,20 +1701,10 @@
                subordinateEntriesDeleted + 1));
      }
    }
    catch (DatabaseException databaseException)
    catch (DatabaseException | DirectoryException | CanceledOperationException e)
    {
      EntryContainer.transactionAbort(txn);
      throw databaseException;
    }
    catch (DirectoryException directoryException)
    {
      EntryContainer.transactionAbort(txn);
      throw directoryException;
    }
    catch (CanceledOperationException coe)
    {
      EntryContainer.transactionAbort(txn);
      throw coe;
      throw e;
    }
    catch (Exception e)
    {
@@ -1995,20 +1975,10 @@
        entryCache.putEntry(newEntry, backend, entryID.longValue());
      }
    }
    catch (DatabaseException databaseException)
    catch (DatabaseException | DirectoryException | CanceledOperationException e)
    {
      EntryContainer.transactionAbort(txn);
      throw databaseException;
    }
    catch (DirectoryException directoryException)
    {
      EntryContainer.transactionAbort(txn);
      throw directoryException;
    }
    catch (CanceledOperationException coe)
    {
      EntryContainer.transactionAbort(txn);
      throw coe;
      throw e;
    }
    catch (Exception e)
    {
@@ -2261,20 +2231,10 @@
      // Commit the transaction.
      EntryContainer.transactionCommit(txn);
    }
    catch (DatabaseException databaseException)
    catch (DatabaseException | DirectoryException | CanceledOperationException e)
    {
      EntryContainer.transactionAbort(txn);
      throw databaseException;
    }
    catch (DirectoryException directoryException)
    {
      EntryContainer.transactionAbort(txn);
      throw directoryException;
    }
    catch (CanceledOperationException coe)
    {
      EntryContainer.transactionAbort(txn);
      throw coe;
      throw e;
    }
    catch (Exception e)
    {