StringBuffer error = new StringBuffer(m_errorMsg);
StringBuffer error = new StringBuffer(); if (m_errorMsg != null) { error.append(m_errorMsg); }
    public String getErrorMsg() {        if (!m_status.equals(JobStatus.FAILED)) {            return org.apache.commons.lang.StringUtils.EMPTY;        }        StringBuffer error = new StringBuffer(m_errorMsg);        if (m_exception != null) {            error.append('\n');            error.append(m_exception.getLocalizedMessage());        }        return error.toString();    }