Changeset 3918
- Timestamp:
- 09/20/03 00:38:41 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/lisp/SimpleCondition.java
r3871 r3918 3 3 * 4 4 * Copyright (C) 2003 Peter Graves 5 * $Id: SimpleCondition.java,v 1. 2 2003-09-19 00:05:11 piso Exp $5 * $Id: SimpleCondition.java,v 1.3 2003-09-20 00:38:41 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 SimpleCondition extends Condition Throwable24 public class SimpleCondition extends Condition 25 25 { 26 26 public SimpleCondition() … … 32 32 super(message); 33 33 } 34 35 public LispObject typeOf() 36 { 37 return Symbol.SIMPLE_CONDITION; 38 } 39 40 public LispClass classOf() 41 { 42 return LispClass.SIMPLE_CONDITION; 43 } 44 45 public LispObject typep(LispObject type) throws ConditionThrowable 46 { 47 if (type == Symbol.CONDITION) 48 return T; 49 return super.typep(type); 50 } 34 51 }
Note: See TracChangeset
for help on using the changeset viewer.