org.apache.wicket.protocol.http
Class PageExpiredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.wicket.WicketRuntimeException
                  extended by 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:

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

Constructor Summary
PageExpiredException(String message)
           
PageExpiredException(String message, Exception cause)
          Constructor
 
Method Summary
 Throwable fillInStackTrace()
          Suppress loading of the stacktrace because it is not needed.
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageExpiredException

public PageExpiredException(String message)
See Also:
WicketRuntimeException.WicketRuntimeException(java.lang.String)

PageExpiredException

public PageExpiredException(String message,
                            Exception cause)
Constructor

Parameters:
message -
cause -
Method Detail

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.