throw new RepositorySourceException(msg.text(ModeShapeLexicon.WORKSPACES.getString(registry), repositories.getLocation().getPath().getString(registry), repositories.getGraph().getCurrentWorkspaceName(), repositories.getGraph().getSourceName())); .getPath() .getString(registry), repositories.getGraph().getCurrentWorkspaceName(), repositories.getGraph().getSourceName()));