mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/mp/CurrentMissionMgrImpl.java
private synchronized void handleProgramExecutedFailureEvent(final int systemId, final String programName,
            final ProgramStatus status, final String error)
    {
        setMissionStatus(systemId, programName, status);
        
        //update with growl message
        m_GrowlUtil.createGlobalFacesMessage(FacesMessage.SEVERITY_ERROR, "Mission Failed Execution!", 
                String.format("The mission %s for system 0x%08x has failed execution with status %s and the following" 
                        + " exception: \n %s", programName, systemId, translateProgramStatus(status), error));
        
        //update with push message
        postMissionUpdateEvent();
    }
/**
     * Function that handles a {@link Program#TOPIC_PROGRAM_EXECUTED_FAILURE} event.
     * @param systemId
     *  the id of the system from which the program is running
     * @param programName
     *  the name of the program that has failed
     * @param status
     *  the status of the failed program
     * @param error
     *  the error that was caused when the program was executed
     */
Function that handles a  Program#TOPIC_PROGRAM_EXECUTED_FAILURE event.
@param systemId
the id of the system from which the program is running
@param programName
the name of the program that has failed
@param status
the status of the failed program
@param error
the error that was caused when the program was executed
Function that handles a Program#TOPIC_PROGRAM_EXECUTED_FAILURE event . @param systemId the id of the system from which the program is running @param programName the name of the program that has failed @param status the status of the failed program @param error the error that was caused when the program was executed
private synchronized void handleProgramExecutedFailureEvent(final int systemId, final String programName,
            final ProgramStatus status, final String error)
    {
        setMissionStatus(systemId, programName, status);
        m_GrowlUtil.createGlobalFacesMessage(FacesMessage.SEVERITY_ERROR, "Mission Failed Execution!", 
                String.format("The mission %s for system 0x%08x has failed execution with status %s and the following" 
                        + " exception: \n %s", programName, systemId, translateProgramStatus(status), error));
        postMissionUpdateEvent();
    }
private synchronized void handleProgramExecutedFailureEvent ( final int systemId , final String programName , final ProgramStatus status , final String error ) { setMissionStatus ( systemId , programName , status ) ; m_GrowlUtil . createGlobalFacesMessage ( FacesMessage . SEVERITY_ERROR , "Mission Failed Execution!" , String . format ( "The mission %s for system 0x%08x has failed execution with status %s and the following" + " exception: \n %s" , programName , systemId , translateProgramStatus ( status ) , error ) ) ; postMissionUpdateEvent ( ) ; }
Function that handles a {@link Program#TOPIC_PROGRAM_EXECUTED_FAILURE} event.
Function that handles a { @link Program#TOPIC_PROGRAM_EXECUTED_FAILURE } event .
//update with growl message //update with push message