public static WOComponent errorPageForException(Throwable e, WOSession s) { ErrorPageInterface epi=D2W.factory().errorPage(s); epi.setMessage(ERXUtilities.stackTrace(e)); epi.setNextPage(s.context().page()); return (WOComponent)epi;
public static WOComponent errorPageForException(Throwable e, WOSession session) { return ERD2WFactory.erFactory().errorPageForException(e, session);
    public static WOComponent errorPageForException(Throwable e, WOSession s) {        ErrorPageInterface epi=D2W.factory().errorPage(s);        epi.setMessage(ERXUtilities.stackTrace(e));        epi.setNextPage(s.context().page());        return (WOComponent)epi;    }