Class StalePageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.wicket.WicketRuntimeException
-
- org.apache.wicket.core.request.mapper.StalePageException
-
- All Implemented Interfaces:
Serializable
,IWicketInternalException
public class StalePageException extends WicketRuntimeException implements IWicketInternalException
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
Constructors Constructor Description StalePageException(IRequestablePage page)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
fillInStackTrace()
Suppress loading of the stacktrace because it is not needed.IRequestablePage
getPage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 classThrowable
- See Also:
Throwable.fillInStackTrace()
-
-