1 7 package com.inversoft.verge.mvc.controller.test; 8 9 10 import com.inversoft.verge.mvc.controller.Action; 11 import com.inversoft.verge.mvc.controller.ActionHandlerException; 12 13 14 21 public class TestActionHandler2 { 22 23 public boolean simple2 = false; 24 public boolean exception2 = false; 25 26 27 30 public TestActionHandler2() { 31 } 32 33 34 37 public void handleTestSimple2(Action action) { 38 System.out.println("Inside handleTestSimple2"); 39 simple2 = true; 40 } 41 42 45 public void handleTestException2(Action event) throws ActionHandlerException { 46 System.out.println("Inside handleTestException2"); 47 exception2 = true; 48 throw new ActionHandlerException("test"); 49 } 50 } | Popular Tags |