private void addMessage ( final WMessageBox box , final Message message , final boolean encode ) { String code = message . getMessage ( ) ; if ( ! Util . empty ( code ) ) { box . addMessage ( encode , code , message . getArgs ( ) ) ; } }
Convenience method to add a message to a message box .