| | |
| | | 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) |
| | | { |
| | |
| | | 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) |
| | | { |
| | |
| | | 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) |
| | | { |
| | |
| | | // 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) |
| | | { |