1 16 package org.apache.axis2.saaj; 17 18 import javax.xml.soap.Detail ; 19 import javax.xml.soap.Name ; 20 import javax.xml.soap.SOAPException ; 21 import javax.xml.soap.SOAPFault ; 22 import java.util.Locale ; 23 24 33 public class SOAPFaultImpl extends SOAPBodyElementImpl implements SOAPFault { 34 35 38 org.apache.axis2.soap.SOAPFault fault; 39 40 44 public SOAPFaultImpl(org.apache.axis2.soap.SOAPFault fault){ 45 this.fault = fault; 46 } 47 48 55 public void setFaultCode(String faultCode) throws SOAPException { 56 throw new UnsupportedOperationException ("No supoprted for M2 release"); 59 } 60 61 67 public String getFaultCode() { 68 69 throw new UnsupportedOperationException ("No supoprted for M2 release"); 72 } 73 74 81 public void setFaultActor(String faultActor) throws SOAPException { 82 83 throw new UnsupportedOperationException ("No supoprted for M2 release"); 85 } 86 87 93 public String getFaultActor() { 94 95 throw new UnsupportedOperationException ("No supoprted for M2 release"); 97 } 98 99 106 public void setFaultString(String faultString) throws SOAPException { 107 108 throw new UnsupportedOperationException ("No supoprted for M2 release"); 110 } 111 112 118 public String getFaultString() { 119 120 throw new UnsupportedOperationException ("No supoprted for M2 release"); 122 } 123 124 130 public Detail getDetail() { 131 138 throw new UnsupportedOperationException ("No supoprted for M2 release"); 139 } 140 141 148 public Detail addDetail() throws SOAPException { 149 154 throw new UnsupportedOperationException ("No supoprted for M2 release"); 155 } 156 157 164 public void setFaultCode(Name name) throws SOAPException { 165 166 168 throw new UnsupportedOperationException ("No supoprted for M2 release"); 169 } 170 171 177 public Name getFaultCodeAsName() { 178 179 182 throw new UnsupportedOperationException ("No supoprted for M2 release"); 183 } 184 185 193 public void setFaultString(String faultString, Locale locale) 194 throws SOAPException { 195 196 throw new UnsupportedOperationException ("No supoprted for M2 release"); 198 } 199 200 206 public Locale getFaultStringLocale() { 207 return null; } 210 211 } 212 | Popular Tags |