code: private boolean isCheckedException(TypeMirror t) {
          return !(env.types.isAssignable(t, env.java_lang_Error)
                  || env.types.isAssignable(t, env.java_lang_RuntimeException));
      }
docs: <editor-fold defaultstate="collapsed" desc="Utility methods">