Package org.jsoup

## Class HttpStatusException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - org.jsoup.HttpStatusException

All Implemented Interfaces:
  `java.io.Serializable`

    public class HttpStatusException
    extends java.io.IOException

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

See Also:
  Serialized Form

### Constructor Summary

Constructors
`HttpStatusException​(java.lang.String message, int statusCode, java.lang.String url)`

### Method Summary

All Methods Instance Methods Concrete Methods
`int` `getStatusCode()`
`java.lang.String` `getUrl()`

### Methods inherited from class java.lang.Throwable

`addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Constructor Detail

#### HttpStatusException

    public HttpStatusException​(java.lang.String message,
                               int statusCode,
                               java.lang.String url)

### Method Detail

#### getStatusCode

    public int getStatusCode()

#### getUrl

    public java.lang.String getUrl()