public class HttpException extends Exception
| Constructor and Description | 
|---|
| HttpException()Creates a new HttpException with a  nulldetail message. | 
| HttpException(String message)Creates a new HttpException with the specified detail message. | 
| HttpException(String format,
             Object... args)Constructs a new HttpException with the specified detail message. | 
| HttpException(String message,
             Throwable cause)Creates a new HttpException with the specified detail message and cause. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpException()
null detail message.public HttpException(String message)
message - the exception detail messagepublic HttpException(String format, Object... args)
format - The exception detail message format; see String.format(String, Object...).args - The exception detail message arguments; see String.format(String, Object...).public HttpException(String message, Throwable cause)
message - the exception detail messagecause - the Throwable that caused this exception, or null
 if the cause is unavailable, unknown, or not a ThrowableCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.