public class HttpException extends RuntimeException
| Constructor and Description |
|---|
HttpException(HttpStatus statusCode)
Creates a new HttpException instance
|
HttpException(HttpStatus statusCode,
String message)
Creates a new HttpException instance
|
HttpException(int statusCode)
Creates a new HttpException instance
|
HttpException(int statusCode,
String message)
Creates a new HttpException instance
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpException(int statusCode)
statusCode - The associated status codepublic HttpException(HttpStatus statusCode)
statusCode - The associated status codepublic HttpException(int statusCode,
String message)
statusCode - The associated status codemessage - The error messagepublic HttpException(HttpStatus statusCode, String message)
statusCode - The associated status codemessage - The error messageCopyright © 2004–2025 Apache MINA Project. All rights reserved.