1 15 package org.apache.tapestry; 16 17 import org.apache.hivemind.ApplicationRuntimeException; 18 19 31 32 public class StaleSessionException extends ApplicationRuntimeException 33 { 34 private transient IPage _page; 35 private String _pageName; 36 37 public StaleSessionException() 38 { 39 this(null, null); 40 } 41 42 public StaleSessionException(String message, IPage page) 43 { 44 super(message, page, null, null); 45 _page = page; 46 47 if (page != null) 48 _pageName = page.getPageName(); 49 } 50 51 public String getPageName() 52 { 53 return _pageName; 54 } 55 56 60 61 public IPage getPage() 62 { 63 return _page; 64 } 65 } | Popular Tags |