Package org.zkoss.zk.ui.util

Examples of org.zkoss.zk.ui.util.Initiator.doCatch()


  public boolean doCatch(Throwable t) {
    for (Iterator it = _inits.iterator(); it.hasNext();) {
      final Initiator init = (Initiator)it.next();
      try {
        try {
          if (init.doCatch(t))
            return true; //ignore and skip all other initiators
        } catch (AbstractMethodError ex) { //backward compatible prior to 3.0
          final Method m = init.getClass().getMethod(
              "doCatch", new Class[] {Throwable.class});
          Fields.setAccessible(m, true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.