< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 160,170 **** * @exception UnsupportedOperationException if this message does not * support the SOAP 1.2 concept of Subcode. * * @since 1.6, SAAJ 1.3 */ ! public Iterator getFaultSubcodes(); /** * Removes any Subcodes that may be contained by this * {@code SOAPFault}. Subsequent calls to * {@code getFaultSubcodes} will return an empty iterator until a call --- 160,170 ---- * @exception UnsupportedOperationException if this message does not * support the SOAP 1.2 concept of Subcode. * * @since 1.6, SAAJ 1.3 */ ! public Iterator<QName> getFaultSubcodes(); /** * Removes any Subcodes that may be contained by this * {@code SOAPFault}. Subsequent calls to * {@code getFaultSubcodes} will return an empty iterator until a call
*** 379,389 **** * @exception UnsupportedOperationException if this message does not * support the SOAP 1.2 concept of Fault Reason. * * @since 1.6, SAAJ 1.3 */ ! public Iterator getFaultReasonLocales() throws SOAPException; /** * Returns an {@code Iterator} over a sequence of * {@code String} objects containing all of the Reason Text items for * this {@code SOAPFault}. --- 379,389 ---- * @exception UnsupportedOperationException if this message does not * support the SOAP 1.2 concept of Fault Reason. * * @since 1.6, SAAJ 1.3 */ ! public Iterator<Locale> getFaultReasonLocales() throws SOAPException; /** * Returns an {@code Iterator} over a sequence of * {@code String} objects containing all of the Reason Text items for * this {@code SOAPFault}.
*** 395,405 **** * @exception UnsupportedOperationException if this message does not * support the SOAP 1.2 concept of Fault Reason. * * @since 1.6, SAAJ 1.3 */ ! public Iterator getFaultReasonTexts() throws SOAPException; /** * Returns the Reason Text associated with the given {@code Locale}. * If more than one such Reason Text exists the first matching Text is * returned --- 395,405 ---- * @exception UnsupportedOperationException if this message does not * support the SOAP 1.2 concept of Fault Reason. * * @since 1.6, SAAJ 1.3 */ ! public Iterator<String> getFaultReasonTexts() throws SOAPException; /** * Returns the Reason Text associated with the given {@code Locale}. * If more than one such Reason Text exists the first matching Text is * returned
*** 466,475 **** --- 466,477 ---- /** * Creates or replaces any existing Node element value for * this {@code SOAPFault} object. The Node element * is optional in SOAP 1.2. * + * @param uri - the URI of the Node + * * @exception SOAPException if there was an error in setting the * Node for this {@code SOAPFault} object. * @exception UnsupportedOperationException if this message does not * support the SOAP 1.2 concept of Fault Node. *
< prev index next >