function appendMessage(newMessage, existingMessage) {
    if (newMessage) {
        if (existingMessage != null) {
            existingMessage.message += '<br>' + newMessage.message;
        } else {
            existingMessage = newMessage;
        }
    }
    return existingMessage;
}
/**
 * @appendMessage private function 1. Utility function to append the error
 *                message to the error object
 */
@appendMessage private function 1. Utility function to append the error
message to the error object
@appendMessage private function 1 . Utility function to append the error message to the error object
function appendMessage(newMessage, existingMessage) {
    if (newMessage) {
        if (existingMessage != null) {
            existingMessage.message += '<br>' + newMessage.message;
        } else {
            existingMessage = newMessage;
        }
    }
    return existingMessage;
}
function appendMessage ( newMessage , existingMessage ) { if ( newMessage ) { if ( existingMessage != null ) { existingMessage . message += '<br>' + newMessage . message ; } else { existingMessage = newMessage ; } } return existingMessage ; }
@appendMessage private function 1.
@appendMessage private function 1 .