• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
기술지원31
조회 수 : 1905
2010.06.14 (13:23:01)

    public void printResult(boolean isSuccess)
    {
        String msg = isSuccess ? null : "FAIL";
        printResult(isSuccess, msg);
    }

    public void printResult(boolean isSuccess, String strErrorMsg)
    {
        if(isSuccess)
        {
            if(m_protocol == 0)
                m_protocol = m_service.getContext().getResponseProtocol();
            if(m_response == null)
                m_response = m_service.getGauceResponse(m_protocol);
            try
            {
                m_response.commit(strErrorMsg);
            }
            catch(IOException ioe)
            {
                throw new RuntimeException("Can not commit Gauce transaction!rnt" + ioe.toString());
            }
        } else
        {
            printError("-75000", "[GAUCE--75000] " + strErrorMsg, "printResult");
        }
    }

    public void printResult(String sType, String sCode, String strErrorMsg)
    {
        printError(sType, sCode, strErrorMsg, null);
    }


private void printError(String strErrorCode, String strErrorMsg, String strMethod)
    {
        printError("App", strErrorCode, strErrorMsg, null);
    }

    private void printError(String strErrType, String strErrorCode, String strErrorMsg, String strMethod)
    {
        if(m_protocol == 0)
            m_protocol = m_service.getContext().getResponseProtocol();
        if(m_response == null)
            m_response = m_service.getGauceResponse(m_protocol);
        try
        {
            m_response.writeException(strErrType, strErrorCode, strErrorMsg);
            m_response.commit();
        }
        catch(IOException ioe)
        {
            throw new RuntimeException("Can not write ERROR message!rnt" + ioe.toString());
        }
    }


번호 제목 닉네임 조회 등록일
4605 combo 박스
민성4
6136 2017-03-28
4604 Mgrid 에서 type = lookup 일때 lookup 이벤트는 어떤 건가요???
임동빈
6067 2016-03-24
4603 그리드내 콤보 선택시 문제 [1]
비스타21
6016 2016-02-19
4602 10억단위 @SUM시 -로 보이는 현상 문의드립니다. [1]
동긔나긔
22605 2016-02-04
4601 컴포넌트 인스톨러 요청(육군간호사관학교) 첨부 파일 [1]
영희
7672 2016-01-20
4600 GirdToExcel 시 틀고정 적용 [1]
OOGway
5642 2016-01-14
4599 IE11 에서 Event 적용 안되는 문제 [1]
nsitc
7716 2016-01-12
4598 액티브업데이트 다운로드 권한 요청 [1]
ㅈㅇ
6539 2016-01-07
4597 Excel.Application 사용 문의 드립니다. [1]
서은형
8115 2015-12-03
4596 가우스 컴포넌트 설치시 발생하는 문제 [1]
자바개발자IT
58310 2015-10-23
4595 IE 11버전에서 Dataset 컴포넌트 메서드 오류 현상 [1]
자바개발자IT
7781 2015-10-02
4594 Internet Explorer의 작동이 중지되었습니다. 첨부 파일 [1]
임지선
7903 2015-08-26
4593 윈도우10 엣지 호환여부 [1]
제임스건
17232 2015-08-06
4592 ActiveX Update 관련 문의 첨부 파일 [1]
뭉개
6585 2015-06-25
4591 엑셀 다운로드 관련 문의드립니다. [1]
우르릉쿵쿵
5925 2015-06-25
4590 윈도우 버전 관련 문의 [1]
임지선
6762 2015-06-24
4589 엑셀다운로드 관련하여 문의 드립니다 [1]
우르릉쿵쿵
6084 2015-05-15
4588 엑셀 다운로드 관련 문의합니다. [1]
제임스건
5749 2015-05-12
4587 unicode용 max컴포넌트 요청 [1]
최경원
6347 2015-04-30
4586 MXRadioU.cab 오류 [1]
명화
5526 2015-04-27
Tag List
XE Login