Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 // Copyright 2004, 2005 The Apache Software Foundation
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// See the License for the specific language governing permissions and
// limitations under the License.
package org.apache.tapestry;
import  org.apache.hivemind.ApplicationRuntimeException;

Exception thrown by a component or org.apache.tapestry.engine.IEngineService that wishes to force the application to a particular page. This is often used to protect a sensitive page until the user is authenticated.

Howard Lewis Ship
public class PageRedirectException extends ApplicationRuntimeException
    private static final long serialVersionUID = -7693744317997065965L;
    private final String _targetPageName;
    public PageRedirectException(String targetPageName)
    public PageRedirectException(IPage page)
    public PageRedirectException(
        String message,
        Object component,
        Throwable rootCause,
        String targetPageName)
         = targetPageName;
    public String getTargetPageName()
        return ;
New to GrepCode? Check out our FAQ X