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
5ba6fb90f5
commit
15885da9f9
@ -75,7 +75,6 @@ public class ProfileManagerImpl implements ProfileManager {
|
||||
throw new ProfileManagementException("Error occurred while adding the profile features (" +
|
||||
profile.getProfileName() + ")", e);
|
||||
} catch (PolicyManagerDAOException e) {
|
||||
PolicyManagementDAOFactory.rollbackTransaction();
|
||||
throw new ProfileManagementException("Error occurred while adding the profile (" +
|
||||
profile.getProfileName() + ") to the database", e);
|
||||
} finally {
|
||||
@ -105,7 +104,6 @@ public class ProfileManagerImpl implements ProfileManager {
|
||||
throw new ProfileManagementException("Error occurred while updating the profile features (" +
|
||||
profile.getProfileName() + ")", e);
|
||||
} catch (PolicyManagerDAOException e) {
|
||||
PolicyManagementDAOFactory.rollbackTransaction();
|
||||
throw new ProfileManagementException("Error occurred while updating the profile (" +
|
||||
profile.getProfileName() + ") to the database", e);
|
||||
} finally {
|
||||
@ -132,7 +130,6 @@ public class ProfileManagerImpl implements ProfileManager {
|
||||
throw new ProfileManagementException("Error occurred while deleting the features from profile (" +
|
||||
profile.getProfileName() + ")", e);
|
||||
} catch (PolicyManagerDAOException e) {
|
||||
PolicyManagementDAOFactory.rollbackTransaction();
|
||||
throw new ProfileManagementException("Error occurred while deleting the profile (" +
|
||||
profile.getProfileName() + ") from database", e);
|
||||
} finally {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user