Package dtool.util

Examples of dtool.util.StatusException


 
  protected ServerSocket createServerSocket(int portNumber) throws StatusException {
    try {
      return new ServerSocket(portNumber);
    } catch (IOException ioe) {
      throw new StatusException("Error creating socket on port " + portNumber + ".", ioe);
    }
  }
View Full Code Here


   
    this.sentinelFile = getSentinelFile();
    try {
      FileUtil.writeStringToFile(sentinelFile, getServerPortNumber()+"", StringUtil.UTF8);
    } catch (IOException e) {
      throw new StatusException("Error writing to sentinel file " + sentinelFile, e);
    }
  }
View Full Code Here

TOP

Related Classes of dtool.util.StatusException

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.