src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Adds the given error message to the chat window conversation area.
     *
     * @param contactName the name of the contact, for which the error occured
     * @param message the error message
     */
Adds the given error message to the chat window conversation area.
@param contactName the name of the contact, for which the error occured
@param message the error message
Adds the given error message to the chat window conversation area . @param contactName the name of the contact for which the error occured @param message the error message
public void addErrorMessage(String contactName,
                                String message)
    {
        this.addMessage(contactName,
                new Date(),
                Chat.ERROR_MESSAGE,
                GuiActivator.getResources()
                    .getI18NString("service.gui.MSG_DELIVERY_FAILURE"),
                message, "text");
    }
public void addErrorMessage ( String contactName , String message ) { this . addMessage ( contactName , new Date ( ) , Chat . ERROR_MESSAGE , GuiActivator . getResources ( ) . getI18NString ( "service.gui.MSG_DELIVERY_FAILURE" ) , message , "text" ) ; }
Adds the given error message to the chat window conversation area.
Adds the given error message to the chat window conversation area .