|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.interpreter.DelegatingContext
edu.rice.cs.dynamicjava.interpreter.TryBlockContext
public class TryBlockContext
A block in which additional exception types are allowed to be thrown.
| Constructor Summary | |
|---|---|
TryBlockContext(TypeContext next,
java.lang.Iterable<Type> caughtTypes)
|
|
| Method Summary | |
|---|---|
protected TryBlockContext |
duplicate(TypeContext next)
Create a copy of this context with the given context enclosing it. |
java.lang.Iterable<Type> |
getDeclaredThrownTypes()
The types that are allowed to be thrown in the current context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TryBlockContext(TypeContext next,
java.lang.Iterable<Type> caughtTypes)
| Method Detail |
|---|
protected TryBlockContext duplicate(TypeContext next)
DelegatingContext
duplicate in class DelegatingContextpublic java.lang.Iterable<Type> getDeclaredThrownTypes()
getDeclaredThrownTypes in interface TypeContextgetDeclaredThrownTypes in class DelegatingContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||