Changeset 3882


Ignore:
Timestamp:
09/19/03 01:09:21 (19 years ago)
Author:
piso
Message:

Work in progress.

File:
1 edited

Legend:

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

    r3879 r3882  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: ConditionThrowable.java,v 1.5 2003-09-19 00:42:26 piso Exp $
     5 * $Id: ConditionThrowable.java,v 1.6 2003-09-19 01:09:21 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    2424public class ConditionThrowable extends Throwable
    2525{
     26    public Condition condition;
     27
    2628    public ConditionThrowable()
    2729    {
     30    }
     31
     32    public ConditionThrowable(Condition condition)
     33    {
     34        this.condition = condition;
    2835    }
    2936
     
    3542    public Condition getCondition()
    3643    {
    37         return new Condition();
     44        return condition != null ? condition : new Condition();
    3845    }
    3946}
Note: See TracChangeset for help on using the changeset viewer.