source: EDIS/tags/ed/tracking-server-core/src/main/java/gov/va/med/edp/rpc/VistaLinkRpcDataRetrievalFailureException.java@ 1240

Last change on this file since 1240 was 1240, checked in by George Lilly, 13 years ago

new version from the VA

File size: 988 bytes
Line 
1package gov.va.med.edp.rpc;
2
3import gov.va.med.vistalink.adapter.record.VistaLinkFaultException;
4import org.springframework.dao.DataRetrievalFailureException;
5
6public class VistaLinkRpcDataRetrievalFailureException extends DataRetrievalFailureException {
7
8 private VistaLinkFaultException fault;
9
10 public VistaLinkRpcDataRetrievalFailureException(VistaLinkFaultException fault) {
11 super(fault.getMessage(), fault);
12 this.fault = fault;
13 }
14
15 public String getErrorCode() {
16 return fault.getErrorCode();
17 }
18
19 public String getErrorMessage() {
20 return fault.getErrorMessage();
21 }
22
23 public String getErrorType() {
24 return fault.getErrorType();
25 }
26
27 public String getFaultActor() {
28 return fault.getFaultActor();
29 }
30
31 public String getFaultCode() {
32 return fault.getFaultCode();
33 }
34
35 public String getFaultString() {
36 return fault.getFaultString();
37 }
38}
Note: See TracBrowser for help on using the repository browser.