public final String readLineOfInput(final LocalizableMessage prompt) throws ClientException {
  if (prompt != null) {
    out.print(wrap(prompt));
    out.print(" ");
  }
  try {
    final String s=reader.readLine();
    if (s == null) {
      throw ClientException.adaptInputException(new EOFException("End of input"));
    }
    return s;
  }
 catch (  final IOException e) {
    throw ClientException.adaptInputException(e);
  }
}

public final String readLineOfInput ( final LocalizableMessage prompt ) throws ClientException { if ( prompt != null ) { out . print ( wrap ( prompt ) ) ; out . print ( " " ) ; } try { final String s = reader . readLine ( ) ; if ( s == null ) { throw ClientException . adaptInputException ( new EOFException ( "End of input" ) ) ; } return s ; } catch ( final IOException e ) { throw ClientException . adaptInputException ( e ) ; } }
interactively retrieves a line of input from the console .
