Ejemplo n.º 1
0
 protected TryCatchFinally(
     AsyncContextAware parent,
     Boolean daemon,
     String parentTaskMethodName,
     int skipStackLines,
     Promise<?>[] waitFor) {
   context =
       new TryCatchFinallyContext(
           parent.getContext(), this, daemon, parentTaskMethodName, skipStackLines, waitFor);
 }
Ejemplo n.º 2
0
 public TryCatchFinally(AsyncContextAware parent, Promise<?>... waitFor) {
   context = new TryCatchFinallyContext(parent.getContext(), this, null, null, 5, waitFor);
 }