sdr 0.7

net.cscott.sdr.calls
Class BadCallException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.cscott.sdr.calls.BadCallException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoMatchException

public class BadCallException
extends RuntimeException

This exception indicates that a call was invalid.

See Also:
Serialized Form

Field Summary
 Fraction priority
          Priority field helps us distinguish ordinary "you can't do that from here" exceptions from special messages from If nodes, like "facing recycle is not valid at Plus".
 
Constructor Summary
BadCallException(String s)
           
BadCallException(String s, Fraction priority)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

priority

public final Fraction priority
Priority field helps us distinguish ordinary "you can't do that from here" exceptions from special messages from If nodes, like "facing recycle is not valid at Plus". The default priority for "ordinary" exceptions is 0. If nodes with messages default to 1.

Constructor Detail

BadCallException

public BadCallException(String s)

BadCallException

public BadCallException(String s,
                        Fraction priority)

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian