Class HttpErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.hertsstack.core.exception.http.HttpErrorException
-
- All Implemented Interfaces:
java.io.Serializable
public class HttpErrorException extends java.lang.RuntimeExceptionHerts http error- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpErrorException.StatusCodeHerts supports http status code
-
Constructor Summary
Constructors Constructor Description HttpErrorException(HttpErrorException.StatusCode statusCode)HttpErrorException(HttpErrorException.StatusCode statusCode, java.lang.String msg)HttpErrorException(HttpErrorException.StatusCode statusCode, java.lang.String msg, java.lang.Throwable cause)HttpErrorException(HttpErrorException.StatusCode statusCode, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpErrorException.StatusCodegetStatusCode()
-
-
-
Constructor Detail
-
HttpErrorException
public HttpErrorException(HttpErrorException.StatusCode statusCode)
-
HttpErrorException
public HttpErrorException(HttpErrorException.StatusCode statusCode, java.lang.String msg)
-
HttpErrorException
public HttpErrorException(HttpErrorException.StatusCode statusCode, java.lang.Throwable cause)
-
HttpErrorException
public HttpErrorException(HttpErrorException.StatusCode statusCode, java.lang.String msg, java.lang.Throwable cause)
-
-
Method Detail
-
getStatusCode
public HttpErrorException.StatusCode getStatusCode()
-
-