org.apache.wicket
Class RestartResponseAtInterceptPageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.wicket.AbortException
                  extended by org.apache.wicket.AbstractRestartResponseException
                      extended by org.apache.wicket.RestartResponseAtInterceptPageException
All Implemented Interfaces:
java.io.Serializable

public class RestartResponseAtInterceptPageException
extends AbstractRestartResponseException

Causes Wicket to interrupt current request processing and immediately redirect to an intercept page.

Similar to calling redirectToInteceptPage(Page) with the difference that this exception will interrupt processing of the current request.

Author:
Igor Vaynberg (ivaynberg), Jonathan Locke, Philip Chapman
See Also:
PageMap.redirectToInterceptPage(Page), Component.redirectToInterceptPage(Page), Serialized Form

Constructor Summary
RestartResponseAtInterceptPageException(java.lang.Class interceptPageClass)
          Redirects to the specified intercept page, this will result in a bookmarkable redirect.
RestartResponseAtInterceptPageException(Page interceptPage)
          Redirects to the specified intercept page.
 
Method Summary
 
Methods inherited from class org.apache.wicket.AbortException
fillInStackTrace
 
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

RestartResponseAtInterceptPageException

public RestartResponseAtInterceptPageException(Page interceptPage)
Redirects to the specified intercept page.

Parameters:
interceptPage - redirect page

RestartResponseAtInterceptPageException

public RestartResponseAtInterceptPageException(java.lang.Class interceptPageClass)
Redirects to the specified intercept page, this will result in a bookmarkable redirect.

Parameters:
interceptPageClass - Class of intercept page to instantiate


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.