mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/osgi/BundleManagementMessageService.java
private void queueBundleErrorMessage(final TerraHarvestMessage thMessage, final BundleErrorCode error,
        final String errorDesc, final RemoteChannel channel)
    {
        //construct the error message
        final BundleNamespaceErrorData errorMessage = BundleNamespaceErrorData.newBuilder().
            setError(error).
            setErrorDescription(errorDesc).
            build();
        //send message
        m_MessageFactory.createBundleResponseMessage(thMessage, BundleMessageType.BundleNamespaceError,
            errorMessage).queue(channel);
    }
/**
     * Send an error message. This method will append the error information to the message and send the response.
     * @param thMessage
     *     the terra harvest request message
     * @param error
     *     bundle namespace error code that triggered this error response
     * @param errorDesc
     *     the description of the error that occurred
     * @param channel
     *     the channel through which the original request was transmitted over
     */
Send an error message. This method will append the error information to the message and send the response.
@param thMessage
the terra harvest request message
@param error
bundle namespace error code that triggered this error response
@param errorDesc
the description of the error that occurred
@param channel
the channel through which the original request was transmitted over
Send an error message . This method will append the error information to the message and send the response . @param thMessage the terra harvest request message @param error bundle namespace error code that triggered this error response @param errorDesc the description of the error that occurred @param channel the channel through which the original request was transmitted over
private void queueBundleErrorMessage(final TerraHarvestMessage thMessage, final BundleErrorCode error,
        final String errorDesc, final RemoteChannel channel)
    {
        final BundleNamespaceErrorData errorMessage = BundleNamespaceErrorData.newBuilder().
            setError(error).
            setErrorDescription(errorDesc).
            build();
        m_MessageFactory.createBundleResponseMessage(thMessage, BundleMessageType.BundleNamespaceError,
            errorMessage).queue(channel);
    }
private void queueBundleErrorMessage ( final TerraHarvestMessage thMessage , final BundleErrorCode error , final String errorDesc , final RemoteChannel channel ) { final BundleNamespaceErrorData errorMessage = BundleNamespaceErrorData . newBuilder ( ) . setError ( error ) . setErrorDescription ( errorDesc ) . build ( ) ; m_MessageFactory . createBundleResponseMessage ( thMessage , BundleMessageType . BundleNamespaceError , errorMessage ) . queue ( channel ) ; }
Send an error message.
Send an error message .
//construct the error message //send message