7576777879808182
stored.setBuildAgentGroup( profile.getBuildAgentGroup() ); profileDao.updateProfile( stored ); } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
106107108109110111112113
140141142143144145146147
{ profileDao.removeProfile( getProfile( profileId ) ); } catch ( Exception e ) { throw new ProfileException( "Cannot remove the profile", e ); } }
170171172173174175176177
// really ignore ? return null; } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
188189190191192193194195
{ profileDao.updateProfile( stored ); } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
206207208209210211212213
224225226227228229230231
283284285286287288289290
updateProfileCheckDuplicateName( stored, false ); } catch ( AlreadyExistsProfileException e ) { // normally cannot happend here but anyway we throw the exception throw new ProfileException( e.getMessage(), e ); } }
stored.setEnvironmentVariables( profile.getEnvironmentVariables() ); profileDao.updateProfile( stored ); } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
105106107108109110111112