int vLength = value.length();     if (maskLength != vLength) throw new ParseException ("stringToValue passed invalid value", vLength);    try { convertValue(value, false); } catch (ParseException pe) { throw new ParseException("stringToValue passed invalid value", pe.getErrorOffset()); }  if (!getValueContainsLiteralCharacters()) value = stripLiterals(value); return super.stringToValue(value);
return super.stringToValue(convertStringToValue(value));
  public Object stringToValue (String value) throws ParseException  {    int vLength = value.length();        // For value to be a valid it must be the same length as the mask    // note this doesn't take into account symbols that occupy more than     // one character, this is something we may possibly need to fix.    if (maskLength != vLength)      throw new ParseException ("stringToValue passed invalid value", vLength);        // Check if the value is valid according to the mask and valid/invalid     // sets.    try    {      convertValue(value, false);          }    catch (ParseException pe)    {      throw new ParseException("stringToValue passed invalid value",                                 pe.getErrorOffset());    }        if (!getValueContainsLiteralCharacters())      value = stripLiterals(value);    return super.stringToValue(value);  }