codesimian
Class NeedLiquid.Failed

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by codesimian.NeedLiquid
                  extended by codesimian.NeedLiquid.Failed
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable
Enclosing class:
NeedLiquid

public static class NeedLiquid.Failed
extends NeedLiquid

needed a certain amount and name of Liquid, but could not get it, and it is too late to pay that now. Some NeedLiquids have a Runnable to continue execution once paid, but not this one. TODO: merge NeedLiquid, NeedLiquid.Failed, NeedLiquids, and NeedLiquids.Failed into 1 class: NeedLiquids, which should extend a new class: Need

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class codesimian.NeedLiquid
NeedLiquid.Failed
 
Field Summary
 
Fields inherited from class codesimian.NeedLiquid
D, name
 
Constructor Summary
NeedLiquid.Failed(java.lang.String liquidName, double needThisMuchMoreLiquid)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class codesimian.NeedLiquid
canContinue, hasLiquid, liquidCount, run, takeLiquid, takeLiquidThenRun
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeedLiquid.Failed

public NeedLiquid.Failed(java.lang.String liquidName,
                         double needThisMuchMoreLiquid)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable