code: public Object parseObject(String source) throws ParseException
      {
  
          ParsePosition pos = new ParsePosition(0);
          Object result = parseObject(source, pos);
          if (pos.getErrorIndex() >= 0)
          {
              throw new ParseException("Format.parseObject(String) failed", pos.getErrorIndex());
          }
          return result;
      }
docs: /*
  (non-Javadoc)
  
  @see java.text.Format#parseObject(java.lang.String)