void withinCatchBlock(CodeAttribute b, ClassMethod method) { final ExceptionHandler start = b.exceptionBlockStart(Throwable.class.getName()); doWork(b, method); // end the interceptor context, everything was fine endIfStarted(b, method); // jump over the catch block BranchEnd gotoEnd = b.gotoInstruction(); // create catch block b.exceptionBlockEnd(start); b.exceptionHandlerStart(start); // end the interceptor context if there was an exception endIfStarted(b, method); b.athrow(); // update the correct address to jump over the catch block b.branchEnd(gotoEnd); doReturn(b, method); }
void withinCatchBlock(CodeAttribute b, ClassMethod method) { final ExceptionHandler start = b.exceptionBlockStart(Throwable.class.getName()); doWork(b, method); // end the interceptor context, everything was fine endIfStarted(b, method); // jump over the catch block BranchEnd gotoEnd = b.gotoInstruction(); // create catch block b.exceptionBlockEnd(start); b.exceptionHandlerStart(start); // end the interceptor context if there was an exception endIfStarted(b, method); b.athrow(); // update the correct address to jump over the catch block b.branchEnd(gotoEnd); doReturn(b, method); }
void withinCatchBlock(CodeAttribute b, ClassMethod method) { final ExceptionHandler start = b.exceptionBlockStart(Throwable.class.getName()); doWork(b, method); // end the interceptor context, everything was fine endIfStarted(b, method); // jump over the catch block BranchEnd gotoEnd = b.gotoInstruction(); // create catch block b.exceptionBlockEnd(start); b.exceptionHandlerStart(start); // end the interceptor context if there was an exception endIfStarted(b, method); b.athrow(); // update the correct address to jump over the catch block b.branchEnd(gotoEnd); doReturn(b, method); }
void withinCatchBlock(CodeAttribute b, ClassMethod method) { final ExceptionHandler start = b.exceptionBlockStart(Throwable.class.getName()); doWork(b, method); // end the interceptor context, everything was fine endIfStarted(b, method); // jump over the catch block BranchEnd gotoEnd = b.gotoInstruction(); // create catch block b.exceptionBlockEnd(start); b.exceptionHandlerStart(start); // end the interceptor context if there was an exception endIfStarted(b, method); b.athrow(); // update the correct address to jump over the catch block b.branchEnd(gotoEnd); doReturn(b, method); }
void withinCatchBlock(CodeAttribute b, ClassMethod method) { final ExceptionHandler start = b.exceptionBlockStart(Throwable.class.getName()); doWork(b, method); // end the interceptor context, everything was fine endIfStarted(b, method); // jump over the catch block BranchEnd gotoEnd = b.gotoInstruction(); // create catch block b.exceptionBlockEnd(start); b.exceptionHandlerStart(start); // end the interceptor context if there was an exception endIfStarted(b, method); b.athrow(); // update the correct address to jump over the catch block b.branchEnd(gotoEnd); doReturn(b, method); }
void withinCatchBlock(CodeAttribute b, ClassMethod method) { final ExceptionHandler start = b.exceptionBlockStart(Throwable.class.getName()); doWork(b, method); // end the interceptor context, everything was fine endIfStarted(b, method); // jump over the catch block BranchEnd gotoEnd = b.gotoInstruction(); // create catch block b.exceptionBlockEnd(start); b.exceptionHandlerStart(start); // end the interceptor context if there was an exception endIfStarted(b, method); b.athrow(); // update the correct address to jump over the catch block b.branchEnd(gotoEnd); doReturn(b, method); }