public.javadoc.org.spincast.core.exceptions.PublicExceptionDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
PublicExceptionDefault (org.spincast:spincast-framework 1.0.0 API)
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:
- Serialized Form
-
-
Constructor Summary
Constructors
Constructor and Description
PublicExceptionDefault()
PublicExceptionDefault(String message)
PublicExceptionDefault(String message,
boolean resetResponse)
PublicExceptionDefault(String message,
int statusCode)
PublicExceptionDefault(String message,
int statusCode,
boolean resetResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
boolean
isLogTheException()
Should the exception be logged?
-
Methods inherited from class org.spincast.core.exceptions.CustomStatusCodeExceptionDefault
getStatusCode
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.spincast.core.exceptions.CustomStatusCodeException
getStatusCode
-
-
Constructor Detail
-
PublicExceptionDefault
public PublicExceptionDefault()
-
PublicExceptionDefault
public PublicExceptionDefault(String message)
-
PublicExceptionDefault
public PublicExceptionDefault(String message,
int statusCode)
-
PublicExceptionDefault
public PublicExceptionDefault(String message,
boolean resetResponse)
-
PublicExceptionDefault
public PublicExceptionDefault(String message,
int statusCode,
boolean resetResponse)
-
Method Detail
-
isLogTheException
public boolean isLogTheException()
Description copied from interface: PublicException
Should the exception be logged?
- Specified by:
isLogTheException
in interface PublicException
Copyright © 2019. All rights reserved.