Examples of TunnelException


Examples of org.cloudfoundry.caldecott.TunnelException

      catch (IOException e) {
        if (!keepGoing && serverSocket.isClosed()) {
          // time to quit so we can ignore this exception
        }
        else {
          throw new TunnelException("Error while accepting connections", e);
        }
      }
    }
    if (!handlers.isEmpty()) {
      while (!handlers.isEmpty()) {
View Full Code Here

Examples of org.cloudfoundry.caldecott.TunnelException

    try {
      this.serverSocket = new ServerSocket();
      serverSocket.setReuseAddress(true);
      serverSocket.bind(local);
    } catch (IOException e) {
      throw new TunnelException("Error configuring server socket", e);
    }
  }
View Full Code Here

Examples of org.cloudfoundry.caldecott.TunnelException

      if (acceptor == null) {
        this.acceptor = new TunnelAcceptor(serverSocket, tunnelFactory, taskExecutor);
        acceptor.start();
      }
      else {
        throw new TunnelException("Server already running.");
      }
    }
  }
View Full Code Here

Examples of org.cloudfoundry.caldecott.TunnelException

          logger.warn("Error while closing server socket" + e.getMessage());
        }
        logger.info("Server on " + local + " is now stopped");
      }
      else {
        throw new TunnelException("Server is not running.");
      }
    }
  }
View Full Code Here

Examples of org.cloudfoundry.caldecott.TunnelException

        TunnelHelper.deployTunnelApp(client);
        app = client.getApplication(TunnelHelper.getTunnelAppName());
      }
    } catch (Exception e) {
      logger.error("Error deploying Caldecott app", e);
      throw new TunnelException("Error deploying Caldecott app", e);
    }
  }
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.