public class HttpException
extends java.io.IOException
Exception that's thrown when an error at HTTP level occurred. Some implementations might choose to throw an IOException or a subclass of
it instead of this one.| Constructor and Description |
|---|
HttpException(java.lang.String message)
Create a new
HttpException with a message. |
HttpException(java.lang.String message,
java.lang.Throwable cause)
Create a new
HttpException with a message and a cause. |
public HttpException(java.lang.String message)
HttpException with a message.message - An error message.public HttpException(java.lang.String message,
java.lang.Throwable cause)
HttpException with a message and a cause.message - An error message.cause - The reaons for this error.