validation/validation-api/src/main/java/se/jguru/nazgul/tools/validation/api/exception/AbstractErrorMessageContainer.java
@Override
    public final void addErrorMessage(final String message) {
        if (message == null || "".equals(message)) {
            return;
        }

        // All done.
        errorMessages.add(message);
    }
@Override
    public final void addErrorMessage(final String message) {
        if (message == null || "".equals(message)) {
            return;
        }

        // All done.
        errorMessages.add(message);
    }
Adds the provided error message to this ErrorMessageContainer.

@param message The message to add, provided that the message is neither null nor empty.