public void createRunner(Runner runner) throws GreenPepperServerException {
        try {
            sessionService.startSession();
            sessionService.beginTransaction();

            sutDao.create(runner);

            sessionService.commitTransaction();
            log.debug("Created Runner: " + runner.getName());
        } catch (Exception ex) {
            sessionService.rollbackTransaction();
            throw handleException(RUNNER_CREATE_FAILED, ex);
        } finally {
            sessionService.closeSession();
        }
    }
public void createRunner ( Runner runner ) throws GreenPepperServerException { try { sessionService . startSession ( ) ; sessionService . beginTransaction ( ) ; sutDao . create ( runner ) ; sessionService . commitTransaction ( ) ; log . debug ( "Created Runner: " + runner . getName ( ) ) ; } catch ( Exception ex ) { sessionService . rollbackTransaction ( ) ; throw handleException ( RUNNER_CREATE_FAILED , ex ) ; } finally { sessionService . closeSession ( ) ; } }
{@inheritDoc}