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

boli
06.20.2008 0f710ada88011a267c9bfff44fb302b7fdaa6d10
Fixed a issue where a canceled add or mod operation could produce a unchecked exception.

Fix for issue 3322
1 files modified
10 ■■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 10 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java
@@ -1856,6 +1856,11 @@
      EntryContainer.transactionAbort(txn);
      throw directoryException;
    }
    catch (CanceledOperationException coe)
    {
      EntryContainer.transactionAbort(txn);
      throw coe;
    }
    catch (Exception e)
    {
      EntryContainer.transactionAbort(txn);
@@ -2408,6 +2413,11 @@
      EntryContainer.transactionAbort(txn);
      throw directoryException;
    }
    catch (CanceledOperationException coe)
    {
      EntryContainer.transactionAbort(txn);
      throw coe;
    }
    catch (Exception e)
    {
      EntryContainer.transactionAbort(txn);