1 15 package tutorial.pagetypes; 16 17 import net.sf.tapestry.IBinding; 18 import net.sf.tapestry.html.BasePage; 19 20 public class NewException extends BasePage { 21 public Throwable getException() { 22 return exception; 23 } 24 25 public void setException(Throwable exception) { 26 this.exception = exception; 27 } 28 29 public IBinding getExceptionBinding() { 30 return exceptionBinding; 31 } 32 33 public void setExceptionBinding(IBinding exceptionBinding) { 34 this.exceptionBinding = exceptionBinding; 35 } 36 37 private IBinding exceptionBinding; 38 private Throwable exception; 39 } 40 | Popular Tags |