public void annotate(ExceptionWithContext ex) {
    locals.annotate(ex);
    stack.annotate(ex);
  }
Annotates (adds context to) the given exception with information about this frame.

@param ex {@code non-null;} the exception to annotate
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/Frame.java