1 16 package javax.xml.rpc.soap; 17 18 import javax.xml.namespace.QName ; 19 import javax.xml.soap.Detail ; 20 21 41 public class SOAPFaultException extends RuntimeException { 42 43 51 public SOAPFaultException(QName faultcode, String faultstring, 52 String faultactor, Detail detail) { 53 54 super(faultstring); 55 56 this.faultcode = faultcode; 57 this.faultstring = faultstring; 58 this.faultactor = faultactor; 59 this.detail = detail; 60 } 61 62 68 public QName getFaultCode() { 69 return faultcode; 70 } 71 72 77 public String getFaultString() { 78 return faultstring; 79 } 80 81 88 public String getFaultActor() { 89 return faultactor; 90 } 91 92 98 public Detail getDetail() { 99 return detail; 100 } 101 102 103 private QName faultcode; 104 105 106 private String faultstring; 107 108 109 private String faultactor; 110 111 112 private Detail detail; 113 } 114 | Popular Tags |