Changeset 1256 for EDIS/trunk/java/tracking-server-core/src
- Timestamp:
- Oct 2, 2011, 6:04:40 PM (14 years ago)
- File:
- 
      - 1 edited
 
 
Legend:
- Unmodified
- Added
- Removed
- 
      EDIS/trunk/java/tracking-server-core/src/main/java/gov/va/med/edp/dao/rpc/VistaLinkSessionDao.javar1227 r1256 5 5 import org.springframework.dao.DataAccessException; 6 6 import org.springframework.dao.DataRetrievalFailureException; 7 import org.springframework.util.StringUtils; 7 8 import org.w3c.dom.Document; 8 9 import org.w3c.dom.Element; … … 55 56 56 57 private Document buildDocument(String result) { 58 if (!StringUtils.hasText(result)) throw new DataRetrievalFailureException("unable to get user info: EDPCTRL RPC(command=initUser) returned an empty response"); 59 if (result.contains("error")) throw new DataRetrievalFailureException("unable to get user info: EDPCTRL RPC(command=initUser) returned an error"); 57 60 try { 58 61 DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
