code: public void addException(TypeDesc type) {
          if (mExceptions == null) {
              addAttribute(new ExceptionsAttr(mCp));
          }
          // TODO: Special handling for generics
          ConstantClassInfo cci = mCp.addConstantClass(type);
          mExceptions.addException(cci);
      }
docs: Add a declared exception that this method may throw.