Changeset 3916


Ignore:
Timestamp:
09/20/03 00:30:04 (19 years ago)
Author:
piso
Message:

run(): extract ConditionThrowable? message correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/Interpreter.java

    r3894 r3916  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Interpreter.java,v 1.34 2003-09-19 14:44:10 piso Exp $
     5 * $Id: Interpreter.java,v 1.35 2003-09-20 00:30:04 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    210210                catch (ConditionThrowable c) {
    211211                    getStandardInput().clearInput();
    212                     String message = c.getMessage();
     212                    String message = c.getCondition().getMessage();
    213213                    if (message != null)
    214                         out.writeLine("Error: " + c.getMessage() + ".");
     214                        out.writeLine("Error: " + message + ".");
    215215                    else
    216216                        out.writeLine("Error");
Note: See TracChangeset for help on using the changeset viewer.