187188189190191192193194
{ profileDao.updateProfile( stored ); } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
205206207208209210211212
223224225226227228229230
282283284285286287288289
updateProfileCheckDuplicateName( stored, false ); } catch ( AlreadyExistsProfileException e ) { // normally cannot happend here but anyway we throw the exception throw new ProfileException( e.getMessage(), e ); } }
7778798081828384
stored.setBuildAgentGroup( profile.getBuildAgentGroup() ); profileDao.updateProfile( stored ); } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
108109110111112113114115
142143144145146147148149
{ profileDao.removeProfile( getProfile( profileId ) ); } catch ( Exception e ) { throw new ProfileException( "Cannot remove the profile", e ); } }
172173174175176177178179
// really ignore ? return null; } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
190191192193194195196197
208209210211212213214215