org.apache.wicket.request.mapper
Class StalePageException

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.request.mapper.StalePageException
All Implemented Interfaces:
java.io.Serializable

public class StalePageException
extends WicketRuntimeException

Exception invoked when when stale link has been clicked. The page should then be rerendered with an explanatory error message.

Author:
Matej Knopp
See Also:
Serialized Form

Constructor Summary
StalePageException(IRequestablePage page)
          Construct.
 
Method Summary
 IRequestablePage getPage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

StalePageException

public StalePageException(IRequestablePage page)
Construct.

Parameters:
page -
Method Detail

getPage

public IRequestablePage getPage()
Returns:
page instance


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.