1 6 7 28 package javax.xml.soap; 29 30 import java.util.Iterator ; 31 import java.util.Locale ; 32 33 import javax.xml.namespace.QName ; 34 35 48 public interface SOAPFault extends SOAPBodyElement { 49 50 79 public void setFaultCode(Name faultCodeQName) throws SOAPException ; 80 81 98 public void setFaultCode(QName faultCodeQName) throws SOAPException ; 99 100 118 public void setFaultCode(String faultCode) throws SOAPException ; 119 120 135 public Name getFaultCodeAsName(); 136 137 138 148 public QName getFaultCodeAsQName(); 149 150 165 public Iterator getFaultSubcodes(); 166 167 178 public void removeAllFaultSubcodes(); 179 180 194 public void appendFaultSubcode(QName subcode) throws SOAPException ; 195 196 203 public String getFaultCode(); 204 205 221 public void setFaultActor(String faultActor) throws SOAPException ; 222 223 233 public String getFaultActor(); 234 235 253 public void setFaultString(String faultString) throws SOAPException ; 254 255 277 public void setFaultString(String faultString, Locale locale) 278 throws SOAPException ; 279 280 299 public String getFaultString(); 300 301 322 public Locale getFaultStringLocale(); 323 324 334 public boolean hasDetail(); 335 336 348 public Detail getDetail(); 349 350 365 public Detail addDetail() throws SOAPException ; 366 367 384 public Iterator getFaultReasonLocales() throws SOAPException ; 385 386 400 public Iterator getFaultReasonTexts() throws SOAPException ; 401 402 421 public String getFaultReasonText(Locale locale) throws SOAPException ; 422 423 448 public void addFaultReasonText(String text, java.util.Locale locale) 449 throws SOAPException ; 450 451 464 public String getFaultNode(); 465 466 479 public void setFaultNode(String uri) throws SOAPException ; 480 481 494 public String getFaultRole(); 495 496 511 public void setFaultRole(String uri) throws SOAPException ; 512 513 } 514 | Popular Tags |