Package net.sourceforge.javautil.ui

Examples of net.sourceforge.javautil.ui.UserInterfaceException


   */
  protected String captureRawInput (String prompt) {
    try {
      if (prompt != null) writer.print("\n" + prompt);
      String read = reader.readLine();
      if (read == null) throw new UserInterfaceException(this, "No more input available for CLI");
      if (echo) writer.println(read);
      return read;
    } catch (IOException e) {
      throw ThrowableManagerRegistry.caught(new UserInterfaceException(this, e));
    }
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.javautil.ui.UserInterfaceException

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.