throw new EncoderException("Parameter supplied to Metaphone " + "encode is not of type " + "java.lang.String");
throw new EncoderException("Parameter supplied to Metaphone encode is not of type java.lang.String");
    public Object encode(Object pObject) throws EncoderException {        Object result;        if (!(pObject instanceof java.lang.String)) {            throw new EncoderException("Parameter supplied to Metaphone "                                        + "encode is not of type "                                        + "java.lang.String");         } else {            result = metaphone((String) pObject);        }        return result;    }