Package org.spincast.core.exceptions
Class PublicExceptionDefault
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spincast.core.exceptions.ResponseResetableExceptionDefault
org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
org.spincast.core.exceptions.PublicExceptionDefault
- All Implemented Interfaces:
Serializable,CustomStatusCodeException,PublicException,ResponseResetableException
- Direct Known Subclasses:
FormAlreadySubmittedException,FormTooOldException,PublicExceptionNoLog
public class PublicExceptionDefault
extends CustomStatusCodeExceptionDefault
implements PublicException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPublicExceptionDefault(String message) PublicExceptionDefault(String message, boolean resetResponse) PublicExceptionDefault(String message, int statusCode) PublicExceptionDefault(String message, int statusCode, boolean resetResponse) -
Method Summary
Methods inherited from class org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
getStatusCodeMethods inherited from class org.spincast.core.exceptions.ResponseResetableExceptionDefault
isResetResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.spincast.core.exceptions.CustomStatusCodeException
getStatusCode
-
Constructor Details
-
PublicExceptionDefault
public PublicExceptionDefault() -
PublicExceptionDefault
-
PublicExceptionDefault
-
PublicExceptionDefault
-
PublicExceptionDefault
-
-
Method Details
-
isLogTheException
public boolean isLogTheException()Description copied from interface:PublicExceptionShould the exception be logged?- Specified by:
isLogTheExceptionin interfacePublicException
-