139140141142143144145146
{ profileDao.removeProfile( getProfile( profileId ) ); } catch ( Exception e ) { throw new ProfileException( "Cannot remove the profile", e ); } }
169170171172173174175176
// really ignore ? return null; } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
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 ); } }
7475767778798081
stored.setBuildAgentGroup( profile.getBuildAgentGroup() ); profileDao.updateProfile( stored ); } catch ( ContinuumStoreException e ) { throw new ProfileException( e.getMessage(), e ); } }
105106107108109110111112