Package com.offbytwo.iclojure.exceptions

Examples of com.offbytwo.iclojure.exceptions.StopInputException


    private Object read() throws IOException, StopInputException {
        String line = readLine(true);

        if (line == null || line.equals("exit")) {
            throw new StopInputException();
        } else if (line.startsWith("%")) {
            return handleShortcuts(line);
        } else if (line.startsWith("?")) {
            return handleHelp(line);
        } else if (line.trim().equals("")) {
View Full Code Here

TOP

Related Classes of com.offbytwo.iclojure.exceptions.StopInputException

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.