Package org.hertsstack.core.modelx
Class InternalHttpErrorResponse
- java.lang.Object
-
- org.hertsstack.core.modelx.InternalHttpErrorResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class InternalHttpErrorResponse extends java.lang.Object implements java.io.Serializable
Herts http error response for internal message- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InternalHttpErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
HttpErrorException.StatusCode
getStatusCode()
void
setMessage(java.lang.String message)
void
setStatusCode(HttpErrorException.StatusCode statusCode)
void
throwHertsHttpErrorException()
-
-
-
Method Detail
-
getStatusCode
public HttpErrorException.StatusCode getStatusCode()
-
setStatusCode
public void setStatusCode(HttpErrorException.StatusCode statusCode)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
throwHertsHttpErrorException
public void throwHertsHttpErrorException() throws HttpErrorException
- Throws:
HttpErrorException
-
-