|
|
@ -75,7 +75,6 @@ public class ProfileManagerImpl implements ProfileManager {
|
|
|
|
throw new ProfileManagementException("Error occurred while adding the profile features (" +
|
|
|
|
throw new ProfileManagementException("Error occurred while adding the profile features (" +
|
|
|
|
profile.getProfileName() + ")", e);
|
|
|
|
profile.getProfileName() + ")", e);
|
|
|
|
} catch (PolicyManagerDAOException e) {
|
|
|
|
} catch (PolicyManagerDAOException e) {
|
|
|
|
PolicyManagementDAOFactory.rollbackTransaction();
|
|
|
|
|
|
|
|
throw new ProfileManagementException("Error occurred while adding the profile (" +
|
|
|
|
throw new ProfileManagementException("Error occurred while adding the profile (" +
|
|
|
|
profile.getProfileName() + ") to the database", e);
|
|
|
|
profile.getProfileName() + ") to the database", e);
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
@ -105,7 +104,6 @@ public class ProfileManagerImpl implements ProfileManager {
|
|
|
|
throw new ProfileManagementException("Error occurred while updating the profile features (" +
|
|
|
|
throw new ProfileManagementException("Error occurred while updating the profile features (" +
|
|
|
|
profile.getProfileName() + ")", e);
|
|
|
|
profile.getProfileName() + ")", e);
|
|
|
|
} catch (PolicyManagerDAOException e) {
|
|
|
|
} catch (PolicyManagerDAOException e) {
|
|
|
|
PolicyManagementDAOFactory.rollbackTransaction();
|
|
|
|
|
|
|
|
throw new ProfileManagementException("Error occurred while updating the profile (" +
|
|
|
|
throw new ProfileManagementException("Error occurred while updating the profile (" +
|
|
|
|
profile.getProfileName() + ") to the database", e);
|
|
|
|
profile.getProfileName() + ") to the database", e);
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
@ -132,7 +130,6 @@ public class ProfileManagerImpl implements ProfileManager {
|
|
|
|
throw new ProfileManagementException("Error occurred while deleting the features from profile (" +
|
|
|
|
throw new ProfileManagementException("Error occurred while deleting the features from profile (" +
|
|
|
|
profile.getProfileName() + ")", e);
|
|
|
|
profile.getProfileName() + ")", e);
|
|
|
|
} catch (PolicyManagerDAOException e) {
|
|
|
|
} catch (PolicyManagerDAOException e) {
|
|
|
|
PolicyManagementDAOFactory.rollbackTransaction();
|
|
|
|
|
|
|
|
throw new ProfileManagementException("Error occurred while deleting the profile (" +
|
|
|
|
throw new ProfileManagementException("Error occurred while deleting the profile (" +
|
|
|
|
profile.getProfileName() + ") from database", e);
|
|
|
|
profile.getProfileName() + ") from database", e);
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|