Rev | Line | |
---|
[1227] | 1 | package gov.va.med.edp.rpc;
|
---|
| 2 |
|
---|
| 3 | import gov.va.med.vistalink.adapter.record.VistaLinkFaultException;
|
---|
| 4 | import org.springframework.dao.PermissionDeniedDataAccessException;
|
---|
| 5 |
|
---|
| 6 | public class VistaLinkRpcPermissionDeniedException extends PermissionDeniedDataAccessException {
|
---|
| 7 |
|
---|
| 8 | private VistaLinkFaultException fault;
|
---|
| 9 |
|
---|
| 10 | public VistaLinkRpcPermissionDeniedException(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.