void (TransformerException exception, String type) { final String message = getMessage(exception); if (!myMessages.contains(message)) { System.err.println("[" + type + "]: " + message); myMessages.add(message); } }