Package com.identity4j.util.http
Class HttpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.identity4j.util.http.HttpException
-
- All Implemented Interfaces:
Serializable
public class HttpException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpException()HttpException(HttpStatus status)HttpException(HttpStatus status, String message)HttpException(HttpStatus status, String message, Throwable cause)HttpException(HttpStatus status, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)HttpException(HttpStatus status, Throwable cause)HttpException(String message)HttpException(String message, Throwable cause)HttpException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)HttpException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocalizedMessage()StringgetMessage()HttpStatusgetStatus()voidsetStatus(HttpStatus status)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HttpException
public HttpException()
-
HttpException
public HttpException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
HttpException
public HttpException(String message)
-
HttpException
public HttpException(Throwable cause)
-
HttpException
public HttpException(HttpStatus status)
-
HttpException
public HttpException(HttpStatus status, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
HttpException
public HttpException(HttpStatus status, String message, Throwable cause)
-
HttpException
public HttpException(HttpStatus status, String message)
-
HttpException
public HttpException(HttpStatus status, Throwable cause)
-
-
Method Detail
-
getStatus
public HttpStatus getStatus()
-
setStatus
public void setStatus(HttpStatus status)
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
-