< prev index next >

src/java.xml.ws/share/classes/javax/xml/soap/SOAPFault.java

Print this page




 451     /**
 452      * Returns the optional Node element value for this
 453      * {@code SOAPFault} object. The Node element is
 454      * optional in SOAP 1.2.
 455      *
 456      * @return Content of the env:Fault/env:Node element as a String
 457      * or {@code null} if none
 458      *
 459      * @exception UnsupportedOperationException if this message does not
 460      *      support the SOAP 1.2 concept of Fault Node.
 461      *
 462      * @since 1.6, SAAJ 1.3
 463      */
 464     public String getFaultNode();
 465 
 466     /**
 467      * Creates or replaces any existing Node element value for
 468      * this {@code SOAPFault} object. The Node element
 469      * is optional in SOAP 1.2.
 470      *
 471      * @param uri - the URI of the Node
 472      *
 473      * @exception SOAPException  if there was an error in setting the
 474      *            Node for this  {@code SOAPFault} object.
 475      * @exception UnsupportedOperationException if this message does not
 476      *      support the SOAP 1.2 concept of Fault Node.
 477      *
 478      *
 479      * @since 1.6, SAAJ 1.3
 480      */
 481     public void setFaultNode(String uri) throws SOAPException;
 482 
 483     /**
 484      * Returns the optional Role element value for this
 485      * {@code SOAPFault} object. The Role element is
 486      * optional in SOAP 1.2.
 487      *
 488      * @return Content of the env:Fault/env:Role element as a String
 489      * or {@code null} if none
 490      *
 491      * @exception UnsupportedOperationException if this message does not
 492      *      support the SOAP 1.2 concept of Fault Role.
 493      *
 494      * @since 1.6, SAAJ 1.3
 495      */
 496     public String getFaultRole();
 497 
 498     /**
 499      * Creates or replaces any existing Role element value for
 500      * this {@code SOAPFault} object. The Role element
 501      * is optional in SOAP 1.2.
 502      *
 503      * @param uri - the URI of the Role
 504      *
 505      * @exception SOAPException  if there was an error in setting the
 506      *            Role for this  {@code SOAPFault} object.
 507      *
 508      * @exception UnsupportedOperationException if this message does not
 509      *      support the SOAP 1.2 concept of Fault Role.
 510      *
 511      * @since 1.6, SAAJ 1.3
 512      */
 513     public void setFaultRole(String uri) throws SOAPException;
 514 
 515 }


 451     /**
 452      * Returns the optional Node element value for this
 453      * {@code SOAPFault} object. The Node element is
 454      * optional in SOAP 1.2.
 455      *
 456      * @return Content of the env:Fault/env:Node element as a String
 457      * or {@code null} if none
 458      *
 459      * @exception UnsupportedOperationException if this message does not
 460      *      support the SOAP 1.2 concept of Fault Node.
 461      *
 462      * @since 1.6, SAAJ 1.3
 463      */
 464     public String getFaultNode();
 465 
 466     /**
 467      * Creates or replaces any existing Node element value for
 468      * this {@code SOAPFault} object. The Node element
 469      * is optional in SOAP 1.2.
 470      *
 471      * @param uri the URI of the Node
 472      *
 473      * @exception SOAPException  if there was an error in setting the
 474      *            Node for this  {@code SOAPFault} object.
 475      * @exception UnsupportedOperationException if this message does not
 476      *      support the SOAP 1.2 concept of Fault Node.
 477      *
 478      *
 479      * @since 1.6, SAAJ 1.3
 480      */
 481     public void setFaultNode(String uri) throws SOAPException;
 482 
 483     /**
 484      * Returns the optional Role element value for this
 485      * {@code SOAPFault} object. The Role element is
 486      * optional in SOAP 1.2.
 487      *
 488      * @return Content of the env:Fault/env:Role element as a String
 489      * or {@code null} if none
 490      *
 491      * @exception UnsupportedOperationException if this message does not
 492      *      support the SOAP 1.2 concept of Fault Role.
 493      *
 494      * @since 1.6, SAAJ 1.3
 495      */
 496     public String getFaultRole();
 497 
 498     /**
 499      * Creates or replaces any existing Role element value for
 500      * this {@code SOAPFault} object. The Role element
 501      * is optional in SOAP 1.2.
 502      *
 503      * @param uri the URI of the Role
 504      *
 505      * @exception SOAPException  if there was an error in setting the
 506      *            Role for this  {@code SOAPFault} object.
 507      *
 508      * @exception UnsupportedOperationException if this message does not
 509      *      support the SOAP 1.2 concept of Fault Role.
 510      *
 511      * @since 1.6, SAAJ 1.3
 512      */
 513     public void setFaultRole(String uri) throws SOAPException;
 514 
 515 }
< prev index next >