org.armedbear.lisp
Class Condition

java.lang.Object
  extended by org.armedbear.lisp.LispObject
      extended by org.armedbear.lisp.StandardObject
          extended by org.armedbear.lisp.Condition
Direct Known Subclasses:
CompilerError, CompilerUnsupportedFeatureError, InternalCompilerError, SeriousCondition, SimpleCondition, Warning

public class Condition
extends StandardObject


Field Summary
protected  java.lang.String message
           
 
Fields inherited from class org.armedbear.lisp.StandardObject
layout, slots
 
Constructor Summary
  Condition()
           
protected Condition(LispClass cls)
           
  Condition(LispClass cls, int length)
           
  Condition(LispObject initArgs)
           
  Condition(java.lang.String message)
           
 
Method Summary
 LispObject classOf()
           
 java.lang.String getConditionReport()
           
 LispObject getFormatArguments()
           
 LispObject getFormatControl()
           
 java.lang.String getMessage()
          Extending classes should override this method if they want to customize how they will be printed.
protected  void initialize(LispObject initArgs)
           
 void setFormatArguments(LispObject formatArguments)
           
 void setFormatControl(LispObject formatControl)
           
 void setFormatControl(java.lang.String s)
           
 LispObject typeOf()
           
 LispObject typep(LispObject type)
           
 java.lang.String writeToString()
           
 
Methods inherited from class org.armedbear.lisp.StandardObject
checkStandardObject, getInstanceSlotValue, getLispClass, getParts, setInstanceSlotValue, setSlotValue, SLOT_VALUE
 
Methods inherited from class org.armedbear.lisp.LispObject
ABS, add, add, aref_long, aref, AREF, AREF, aset, aset, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, CHAR, characterp, CHARACTERP, chars, COMPLEXP, constantp, CONSTANTP, copyToArray, decr, DENOMINATOR, dispatch, divideBy, doubleValue, elt, endp, ENDP, EQ, eql, eql, eql, EQL, equal, equal, EQUAL, equalp, equalp, evenp, EVENP, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, floatp, FLOATP, floatValue, getBooleanValue, getCallCount, getDescription, getDocumentation, getFixnumSlotValue, getHotCount, getInstance, getPropertyList, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValue, getSlotValueAsBoolean, getStringChars, getStringValue, getSymbolFunction, getSymbolFunctionOrDie, getSymbolSetfFunction, getSymbolSetfFunctionOrDie, getSymbolValue, incr, incrementCallCount, incrementHotCount, integerp, INTEGERP, intValue, IS_E, IS_GE, IS_GT, IS_LE, IS_LT, IS_NE, isEqualTo, isEqualTo, isGreaterThan, isGreaterThan, isGreaterThanOrEqualTo, isGreaterThanOrEqualTo, isLessThan, isLessThan, isLessThanOrEqualTo, isLessThanOrEqualTo, isNotEqualTo, isNotEqualTo, isSpecialOperator, isSpecialVariable, javaInstance, javaInstance, LDB, length, LENGTH, listp, LISTP, lockableInstance, LOGAND, LOGAND, LOGIOR, LOGIOR, LOGNOT, LOGXOR, LOGXOR, longValue, minusp, MINUSP, MOD, MOD, multiplyBy, multiplyBy, negate, noFillPointer, NOT, nreverse, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, psxhash, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, setSlotValue, SIMPLE_STRING_P, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, sxhash, SYMBOLP, truncate, unreadableString, unreadableString, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected java.lang.String message
Constructor Detail

Condition

public Condition()

Condition

protected Condition(LispClass cls)

Condition

public Condition(LispClass cls,
                 int length)

Condition

public Condition(LispObject initArgs)

Condition

public Condition(java.lang.String message)
Method Detail

initialize

protected void initialize(LispObject initArgs)

getFormatControl

public final LispObject getFormatControl()

setFormatControl

public final void setFormatControl(LispObject formatControl)

setFormatControl

public final void setFormatControl(java.lang.String s)

getFormatArguments

public final LispObject getFormatArguments()

setFormatArguments

public final void setFormatArguments(LispObject formatArguments)

getMessage

public java.lang.String getMessage()
Extending classes should override this method if they want to customize how they will be printed.


typeOf

public LispObject typeOf()
Overrides:
typeOf in class StandardObject

classOf

public LispObject classOf()
Overrides:
classOf in class StandardObject

typep

public LispObject typep(LispObject type)
Overrides:
typep in class StandardObject

getConditionReport

public java.lang.String getConditionReport()

writeToString

public final java.lang.String writeToString()
Overrides:
writeToString in class StandardObject