private void handleRepositoryCreation() { // First we'll see if the repository already exists GuvWizardModel model = ((IGuvnorWizard) super.getWizard()).getModel(); if (model.shouldCreateNewRep() && model.getRepLocation() != null) { GuvnorRepository theRep = Activator.getLocationManager().findRepository(model.getRepLocation()); if (theRep != null) { // The repository already exists, nothing to do return; } try { WizardUtils.createGuvnorRepository(model); } catch (Exception e) { super.setErrorMessage(e.getMessage()); Activator.getDefault().displayError(IStatus.ERROR, e.getMessage(), e, true); } } }