Package si.mazi.rescu
Class HttpStatusExceptionSupport
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
si.mazi.rescu.HttpStatusExceptionSupport
- All Implemented Interfaces:
Serializable,HttpStatusException
public class HttpStatusExceptionSupport extends RuntimeException implements HttpStatusException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description HttpStatusExceptionSupport()HttpStatusExceptionSupport(String message) -
Method Summary
Modifier and Type Method Description intgetHttpStatusCode()StringgetMessage()StackTraceElement[]getStackTrace()voidsetHttpStatusCode(int httpStatusCode)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpStatusExceptionSupport
public HttpStatusExceptionSupport() -
HttpStatusExceptionSupport
-
-
Method Details
-
getStackTrace
- Overrides:
getStackTracein classThrowable
-
getMessage
- Overrides:
getMessagein classThrowable
-
getHttpStatusCode
public int getHttpStatusCode()- Specified by:
getHttpStatusCodein interfaceHttpStatusException
-
setHttpStatusCode
public void setHttpStatusCode(int httpStatusCode)- Specified by:
setHttpStatusCodein interfaceHttpStatusException
-