public class HttpException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
private static int |
FIRST_VALID_CHAR |
private static long |
serialVersionUID |
Constructor and Description |
---|
HttpException()
Creates a new HttpException with a
null detail message. |
HttpException(java.lang.String message)
Creates a new HttpException with the specified detail message.
|
HttpException(java.lang.String message,
java.lang.Throwable cause)
Creates a new HttpException with the specified detail message and cause.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
clean(java.lang.String message)
Converts characters < 32 to hex.
|
private static final int FIRST_VALID_CHAR
private static final long serialVersionUID
public HttpException()
null
detail message.public HttpException(java.lang.String message)
message
- the exception detail messagepublic HttpException(java.lang.String message, java.lang.Throwable cause)
message
- the exception detail messagecause
- the Throwable
that caused this exception, or
null
if the cause is unavailable, unknown, or not a
Throwable