public class HttpException
Represents an HTTP error.
Constructor and Description |
---|
HttpException(int statusCode)
Creates an instance of
exception HttpException . |
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode()
The HTTP status code.
|
public HttpException(int statusCode)
Creates an instance of exception HttpException
.
statusCode
- The HTTP status code.exception HttpException