public class Decision
extends java.lang.Object
Distributor
to
tell what to do.Modifier and Type | Field and Description |
---|---|
int |
decision
Chosen Decision
|
static int |
RETRY
Decision : retry
|
static int |
RETURN
Decision : return a value
|
java.lang.Object |
retVal
Value associated with return decision
|
static int |
THROW
Decision : throw an exception
|
public static final int RETURN
public static final int RETRY
public static final int THROW
public int decision
public java.lang.Object retVal
public static Decision doRetry()
public static Decision doThrow()
public static Decision doReturn(java.lang.Object retVal)
retVal
- the value to return