Package org.spincast.core.exceptions
Class CustomStatusCodeExceptionDefault
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spincast.core.exceptions.ResponseResetableExceptionDefault
org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
- All Implemented Interfaces:
Serializable
,CustomStatusCodeException
,ResponseResetableException
- Direct Known Subclasses:
PublicExceptionDefault
public class CustomStatusCodeExceptionDefault
extends ResponseResetableExceptionDefault
implements CustomStatusCodeException
- See Also:
-
Constructor Summary
ConstructorDescriptionCustomStatusCodeExceptionDefault
(boolean resetResponse) CustomStatusCodeExceptionDefault
(String message) CustomStatusCodeExceptionDefault
(String message, boolean resetResponse) CustomStatusCodeExceptionDefault
(String message, int statusCode) CustomStatusCodeExceptionDefault
(String message, int statusCode, boolean resetResponse) -
Method Summary
Methods inherited from class org.spincast.core.exceptions.ResponseResetableExceptionDefault
isResetResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CustomStatusCodeExceptionDefault
public CustomStatusCodeExceptionDefault() -
CustomStatusCodeExceptionDefault
-
CustomStatusCodeExceptionDefault
-
CustomStatusCodeExceptionDefault
public CustomStatusCodeExceptionDefault(boolean resetResponse) -
CustomStatusCodeExceptionDefault
-
CustomStatusCodeExceptionDefault
-
-
Method Details
-
getStatusCode
public int getStatusCode()Description copied from interface:CustomStatusCodeException
The status code to use for the response.- Specified by:
getStatusCode
in interfaceCustomStatusCodeException
-