docs: public int getInt(int tagType) throws MetadataException
      {
          Integer integer = getInteger(tagType);
          if (integer!=null)
              return integer;
  
          Object o = getObject(tagType);
          if (o == null)
              throw new MetadataException("Tag '" + getTagName(tagType) + "' has not been set -- check using containsTag() first");
          throw new MetadataException("Tag '" + tagType + "' cannot be converted to int.  It is of type '" + o.getClass() + "'.");
      }