org.erights.e.elib.slot
Class RuinedSlot

java.lang.Object
  |
  +--org.erights.e.elib.slot.RuinedSlot
All Implemented Interfaces:
Slot

public class RuinedSlot
extends Object
implements Slot

Untamed: A ruined slot responds to both getValue() and setValue by throwing the problem that explains why it's ruined.

Author:
Mark S. Miller

Field Summary
private  Throwable myProblem
           
 
Constructor Summary
RuinedSlot(Throwable problem)
          Enabled:
 
Method Summary
 void __printOn(TextWriter out)
          Enabled:
 Object getValue()
          Enabled:
 void setValue(Object newValue)
          Enabled:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myProblem

private final Throwable myProblem
Constructor Detail

RuinedSlot

public RuinedSlot(Throwable problem)
Enabled:

Method Detail

getValue

public Object getValue()
Enabled:

Specified by:
getValue in interface Slot

setValue

public void setValue(Object newValue)
Enabled:

Specified by:
setValue in interface Slot

__printOn

public void __printOn(TextWriter out)
               throws IOException
Enabled:

IOException


comments?