org.jsoup
Class HttpStatusException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.jsoup.HttpStatusException
All Implemented Interfaces:
Serializable

public class HttpStatusException
extends IOException

Signals that a HTTP request resulted in a not OK HTTP response.

See Also:
Serialized Form

Constructor Summary
HttpStatusException(String message, int statusCode, String url)
           
 
Method Summary
 int getStatusCode()
           
 String getUrl()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpStatusException

public HttpStatusException(String message,
                           int statusCode,
                           String url)
Method Detail

getStatusCode

public int getStatusCode()

getUrl

public String getUrl()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2009-2013 Jonathan Hedley. All Rights Reserved.