public void displayValidationError ( final String message ) { final StringBuilder updatedMsg = new StringBuilder ( FontAwesome . EXCLAMATION_TRIANGLE . getHtml ( ) ) ; updatedMsg . append ( ' ' ) ; updatedMsg . append ( message ) ; notificationMessage . showNotification ( SPUIStyleDefinitions . SP_NOTIFICATION_ERROR_MESSAGE_STYLE , null , updatedMsg . toString ( ) , true ) ; }
Display error type of notification message .