net.cscott.sdr.calls
Class BadCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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". |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
BadCallException
public BadCallException(String s)
BadCallException
public BadCallException(String s,
Fraction priority)
Copyright © 2006-2009 C. Scott Ananian