Changeset 3889
- Timestamp:
- 09/19/03 13:02:44 (19 years ago)
- Location:
- trunk/j/src/org/armedbear/lisp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/ControlError.java
r2514 r3889 3 3 * 4 4 * Copyright (C) 2003 Peter Graves 5 * $Id: ControlError.java,v 1. 1 2003-06-21 19:17:35piso Exp $5 * $Id: ControlError.java,v 1.2 2003-09-19 13:02:43 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 22 22 package org.armedbear.lisp; 23 23 24 public class ControlError extends LispError24 public class ControlError extends Condition 25 25 { 26 26 public ControlError() 27 27 { 28 super();29 28 } 30 29 … … 33 32 super(message); 34 33 } 34 35 public LispObject typep(LispObject type) throws ConditionThrowable 36 { 37 if (type == Symbol.CONTROL_ERROR) 38 return T; 39 if (type == Symbol.ERROR) 40 return T; 41 return super.typep(type); 42 } 35 43 } -
trunk/j/src/org/armedbear/lisp/Primitives.java
r3888 r3889 3 3 * 4 4 * Copyright (C) 2002-2003 Peter Graves 5 * $Id: Primitives.java,v 1.41 0 2003-09-19 12:43:59piso Exp $5 * $Id: Primitives.java,v 1.411 2003-09-19 13:02:44 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 1804 1804 return c.getCondition() instanceof ProgramError; 1805 1805 if (type == Symbol.CONTROL_ERROR) 1806 return c instanceof ControlError;1806 return c.getCondition() instanceof ControlError; 1807 1807 if (type == Symbol.SIMPLE_ERROR) 1808 1808 return c.getCondition() instanceof SimpleError; -
trunk/j/src/org/armedbear/lisp/Throw.java
r2515 r3889 3 3 * 4 4 * Copyright (C) 2002-2003 Peter Graves 5 * $Id: Throw.java,v 1. 4 2003-06-21 19:18:17piso Exp $5 * $Id: Throw.java,v 1.5 2003-09-19 13:02:44 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 22 22 package org.armedbear.lisp; 23 23 24 public final class Throw extends ControlError24 public final class Throw extends LispError 25 25 { 26 26 private final LispObject tag;
Note: See TracChangeset
for help on using the changeset viewer.