JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit

Class FailingHttpStatusCodeException

  • All Implemented Interfaces:
    Serializable


    public class FailingHttpStatusCodeException
    extends RuntimeException 
    An exception that is thrown when the server returns a failing status code.
    Author:
    Mike Bowler, Marc Guillemot
    See Also:
    Serialized Form
    • Constructor Detail

      • FailingHttpStatusCodeException

        public FailingHttpStatusCodeException(WebResponse failingResponse)
        Creates an instance.
        Parameters:
        failingResponse - the failing response
      • FailingHttpStatusCodeException

        public FailingHttpStatusCodeException(String message,
         WebResponse failingResponse)
        Creates an instance.
        Parameters:
        message - the message
        failingResponse - the failing response
    • Method Detail

      • getStatusCode

        public int getStatusCode()
        Returns the failing status code.
        Returns:
        the code
      • getStatusMessage

        public String getStatusMessage()
        Returns the message associated with the failing status code.
        Returns:
        the message
      • getResponse

        public WebResponse getResponse()
        Gets the failing response.
        Returns:
        the response
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

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