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.RuntimeException
Herts http error- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpErrorException.StatusCode
Herts 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.StatusCode
getStatusCode()
-
-
-
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()
-
-