Package org.armedbear.lisp
Class StreamError
- java.lang.Object
-
- Direct Known Subclasses:
EndOfFile
,ReaderError
public class StreamError extends LispError
-
-
Field Summary
-
Fields inherited from class org.armedbear.lisp.StandardObject
layout, slots
-
-
Constructor Summary
Constructors Modifier Constructor Description StreamError(java.lang.String message)
StreamError(java.lang.String message, Stream stream)
protected
StreamError(LispClass cls)
StreamError(LispObject initArgs)
StreamError(Stream stream)
StreamError(Stream stream, java.lang.String message)
StreamError(Stream stream, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LispObject
classOf()
java.lang.String
getMessage()
Extending classes should override this method if they want to customize how they will be printed.LispObject
getStream()
protected void
initialize(LispObject initArgs)
protected void
setStream(LispObject stream)
LispObject
typeOf()
LispObject
typep(LispObject type)
-
Methods inherited from class org.armedbear.lisp.Condition
getConditionReport, getFormatArguments, getFormatControl, printObject, setFormatArguments, setFormatControl, setFormatControl
-
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, AREF, AREF, aref_long, 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, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, 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, princToString, psxhash, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, setSlotValue, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, SIMPLE_STRING_P, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, sxhash, SYMBOLP, truncate, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
-
-
-
-
Constructor Detail
-
StreamError
protected StreamError(LispClass cls)
-
StreamError
public StreamError(java.lang.String message)
-
StreamError
public StreamError(Stream stream)
-
StreamError
public StreamError(java.lang.String message, Stream stream)
-
StreamError
public StreamError(LispObject initArgs)
-
StreamError
public StreamError(Stream stream, java.lang.String message)
-
StreamError
public StreamError(Stream stream, java.lang.Throwable cause)
-
-
Method Detail
-
initialize
protected void initialize(LispObject initArgs)
- Overrides:
initialize
in classCondition
-
getStream
public final LispObject getStream()
-
setStream
protected final void setStream(LispObject stream)
-
typeOf
public LispObject typeOf()
-
classOf
public LispObject classOf()
-
typep
public LispObject typep(LispObject type)
-
getMessage
public java.lang.String getMessage()
Description copied from class:Condition
Extending classes should override this method if they want to customize how they will be printed.- Overrides:
getMessage
in classCondition
-
-