JavaScript is disabled on your browser.
Skip navigation links
javax.xml.ws.http

Class HTTPException

  • All Implemented Interfaces:
    Serializable


    public class HTTPException
    extends ProtocolException 
    The HTTPException exception represents a XML/HTTP fault.

    Since there is no standard format for faults or exceptions in XML/HTTP messaging, only the HTTP status code is captured.

    Since:
    JAX-WS 2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • HTTPException

        public HTTPException(int statusCode)
        Constructor for the HTTPException
        Parameters:
        statusCode - int for the HTTP status code
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        Gets the HTTP status code.
        Returns:
        HTTP status code
Skip navigation links

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /