java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.WicketRuntimeException
org.apache.wicket.protocol.http.PageExpiredException
- All Implemented Interfaces:
Serializable
Thrown when a
Page
instance cannot be found by its id in the page stores. The page may be
missing because of reasons like:
- the page have never been stored there, e.g. an error occurred during the storing process
- the http session has expired and thus all pages related to this session are erased too
- the page instance has been erased because the store size exceeded
This exception is used to tell Wicket to respond with the configured PageExpiredPage, so its stacktrace it is not really needed.
- See Also:
-
HttpSession.setMaxInactiveInterval(int)
StoreSettings.setMaxSizePerSession(org.apache.wicket.util.lang.Bytes)
NotSerializableException
IPageProvider.getPageInstance()
- Serialized Form
-
Constructor Summary
ConstructorDescriptionPageExpiredException
(String message) PageExpiredException
(String message, Exception cause) Constructor -
Method Summary
Modifier and TypeMethodDescriptionSuppress loading of the stacktrace because it is not needed.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PageExpiredException
- See Also:
-
PageExpiredException
Constructor- Parameters:
message
-cause
-
-
-
Method Details
-
fillInStackTrace
Suppress loading of the stacktrace because it is not needed.- Overrides:
fillInStackTrace
in classThrowable
- See Also:
-