Package net.sf.tapestry

Examples of net.sf.tapestry.RequestCycleException


**/
public class Home extends BasePage {
    public void niceExceptionPage(IRequestCycle cycle) throws RequestCycleException {
        // This will cause the NewException page to be shown, due to the overrides
        // we have placed in the Engine used in this example
        throw new RequestCycleException("This exception is intentionally thrown by the link handler",
                this,
                new MyException("this is an intentional runtime exception"));
    }
View Full Code Here


        throw new StaleLinkException("This link is STALE!", this);
    }

    public void forceException(IRequestCycle cycle) throws RequestCycleException {
        log.warn("throwing some other exception");
        throw new RequestCycleException("This exception is intentionally thrown by the link handler",
                this,
                new RuntimeException("this is an intentional runtime exception"));
    }
View Full Code Here

TOP

Related Classes of net.sf.tapestry.RequestCycleException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.