org.apache.wicket.core.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.core.request.mapper.StalePageException
All Implemented Interfaces:
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
 Throwable fillInStackTrace()
          Suppress loading of the stacktrace because it is not needed.
 IRequestablePage getPage()
           
 
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

StalePageException

public StalePageException(IRequestablePage page)
Construct.

Parameters:
page -
Method Detail

getPage

public IRequestablePage getPage()
Returns:
page instance

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–2014 Apache Software Foundation. All rights reserved.