mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed redundant rollbackTransaction causing IllegalStateException
This commit is contained in:
parent
ec8a172b3b
commit
5ba6fb90f5
@ -107,7 +107,6 @@ public class FeatureManagerImpl implements FeatureManager {
|
||||
throw new FeatureManagementException("Error occurred while adding the features to profile id (" +
|
||||
profileId + ")", e);
|
||||
} catch (PolicyManagerDAOException e) {
|
||||
PolicyManagementDAOFactory.rollbackTransaction();
|
||||
throw new FeatureManagementException("Error occurred while adding the features to profile id (" +
|
||||
profileId + ") to the database", e);
|
||||
} finally {
|
||||
@ -133,7 +132,6 @@ public class FeatureManagerImpl implements FeatureManager {
|
||||
throw new FeatureManagementException("Error occurred while updating the features to profile id (" +
|
||||
profileId + ")", e);
|
||||
} catch (PolicyManagerDAOException e) {
|
||||
PolicyManagementDAOFactory.rollbackTransaction();
|
||||
throw new FeatureManagementException("Error occurred while updating the features to profile id (" +
|
||||
profileId + ") to the database", e);
|
||||
} finally {
|
||||
@ -187,7 +185,6 @@ public class FeatureManagerImpl implements FeatureManager {
|
||||
throw new FeatureManagementException("Error occurred while deleting the feature of - profile (" +
|
||||
profile.getProfileName() + ")", e);
|
||||
} catch (PolicyManagerDAOException e) {
|
||||
PolicyManagementDAOFactory.rollbackTransaction();
|
||||
throw new FeatureManagementException("Error occurred while deleting the feature of - profile (" +
|
||||
profile.getProfileName() + ") from database", e);
|
||||
} finally {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user