public static class ExceptionalUnitGraph.ExceptionDest extends java.lang.Object implements ExceptionalGraph.ExceptionDest<Unit>
| Modifier | Constructor and Description |
|---|---|
protected |
ExceptionDest(Trap trap,
ThrowableSet throwables) |
| Modifier and Type | Method and Description |
|---|---|
Unit |
getHandlerNode()
Returns the CFG node corresponding to the beginning of
the exception handler that catches the exceptions (that is,
the node that includes
trap().getBeginUnit()). |
ThrowableSet |
getThrowables()
Returns the exceptions thrown to this destination.
|
Trap |
getTrap()
Returns the trap corresponding to this destination.
|
java.lang.String |
toString() |
protected ExceptionDest(Trap trap, ThrowableSet throwables)
public Trap getTrap()
ExceptionalGraph.ExceptionDestgetTrap in interface ExceptionalGraph.ExceptionDest<Unit>Trap representing the handler that
catches the exceptions, if there is such a handler within
the method, or null if there is no such
handler and the exceptions cause the method to terminate
abruptly.public ThrowableSet getThrowables()
ExceptionalGraph.ExceptionDestgetThrowables in interface ExceptionalGraph.ExceptionDest<Unit>ThrowableSet representing
the exceptions which may be caught by this
ExceptionDest's trap.public Unit getHandlerNode()
ExceptionalGraph.ExceptionDesttrap().getBeginUnit()).getHandlerNode in interface ExceptionalGraph.ExceptionDest<Unit>null if there is no such handler and the
exceptions cause the method to terminate abruptly.public java.lang.String toString()
toString in class java.lang.Object