static FacesMessage getMessage(String messageId,
                                                FacesMessage.Severity severity,
                                                Object... params) {
        FacesMessage message = getMessage(messageId, params);
        message.setSeverity(severity);
        return message;
    }
static FacesMessage getMessage ( String messageId , FacesMessage . Severity severity , Object ... params ) { FacesMessage message = getMessage ( messageId , params ) ; message . setSeverity ( severity ) ; return message ; }
@see #getMessage(String, Object...)
@param severity set a custom severity