void ( @NotNull String modelName, @NotNull Project project, @NotNull ModelBuilderContext context, @NotNull Exception exception ) { context.getMessageReporter().createMessage() .withGroup(Messages.SCALA_PROJECT_MODEL_GROUP) .withKind(Message.Kind.ERROR) .withTitle("Scala import failure") .withText("Unable to build Scala project configuration") .withException(exception) .reportMessage(project); }