2013-12-30 7 views

답변

0

안녕하세요 (도 영역 가능한 경우에서 조인 된 사용자를 제거하는 방법) 여기 내 버그가 나는이

try { 
    if (getApi().checkSecurePassword((ISession)event.getParameter(SFSEventParam.SESSION),plainpwd,pwd)) { 
     trace("welcome"); 
    } else { 
     SFSErrorData errData = new SFSErrorData(SFSErrorCode.LOGIN_BAD_PASSWORD); 
     errData.addParameter(username); 
     throw new SFSLoginException(" Password mismatched ", errData); 
    } 
} 
catch(Exception e){} 
같은 코드를 넣어, 나는 버그를 가지고 그것은 해결

그래서 내 예외는 SFSLoginException을 잡는 자체를 차단합니다. 그래서 지금은 잘 작동하는 외부 try/catch를 제거했습니다.