org.apache.wicket.protocol.http
Class PageExpiredException
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
public class PageExpiredException
- extends WicketRuntimeException
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)
,
IStoreSettings.setMaxSizePerSession(org.apache.wicket.util.lang.Bytes)
,
NotSerializableException
,
IPageProvider.getPageInstance()
,
Serialized Form
PageExpiredException
public PageExpiredException(String message)
- See Also:
WicketRuntimeException.WicketRuntimeException(java.lang.String)
PageExpiredException
public PageExpiredException(String message,
Exception cause)
- Constructor
- Parameters:
message
- cause
-
fillInStackTrace
public Throwable fillInStackTrace()
- Suppress loading of the stacktrace because it is not needed.
- Overrides:
fillInStackTrace
in class Throwable
- See Also:
Throwable.fillInStackTrace()
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.