public void addMessage(final Severity severity, final String message) {
        messageList.add(new Message(severity, message));
    }
This has been put here as import export API is not Serializable.
stroom-core-shared/src/main/java/stroom/importexport/shared/ImportState.java