Package org.spincast.core.exceptions
Interface ResponseResetableException
- All Known Implementing Classes:
CustomStatusCodeExceptionDefault
,FormAlreadySubmittedException
,FormTooOldException
,ForwardRouteException
,NotFoundException
,PublicExceptionDefault
,PublicExceptionNoLog
,ResponseResetableExceptionDefault
public interface ResponseResetableException
An interface for exceptions which allows them to control if the
response should be reset (its buffer, headers, etc.) before running
the "Exception" routing process.
Note that the response can't be reset if its headers have
already been sent.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Should the the response be reset before starting the "Exception" routing process?
-
Method Details
-
isResetResponse
boolean isResetResponse()Should the the response be reset before starting the "Exception" routing process?
-