Package org.zkoss.zk.ui

Examples of org.zkoss.zk.ui.DesktopUnavailableException


              synchronized (_pending) { //undo pending
                _pending.remove(info);
              }

              if (bDead)
                throw new DesktopUnavailableException("Stopped");
              return false; //timeout
            }

            log.debug("Executions.activate() took more than 10 minutes");
            loop = true; //try again
          }
        }
      }
    } while (loop);

    if (_desktop == null)
      throw new DesktopUnavailableException("Stopped");

    _carryOver.carryOver();
    _active = info;
    return true;
View Full Code Here


  throws InterruptedException {
    if (_spush == null)
      if (isAlive())
        throw new IllegalStateException("Before activation, the server push must be enabled for "+this);
      else
        throw new DesktopUnavailableException("Stopped");

    if (Events.inEventListener())
      throw new IllegalStateException("No need to invoke Executions.activate() in an event listener");

    return _spush.activate(timeout);
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.DesktopUnavailableException

Copyright © 2018 www.massapicom. 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.