--- /Soundex.java	2023-07-05 02:59:29.842051672 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Soundex.java	2023-07-05 02:59:29.842051672 +0200
@@ -132,8 +132,9 @@
      */
     public Object encode(Object pObject) throws EncoderException {
         if (!(pObject instanceof String)) {
-            throw new EncoderException("Parameter supplied to Soundex encode is not of type java.lang.String");
-        }
+ 
+throw new org.apache.commons.codec.EncoderException("Parameter supplied to Soundex encode is not of type java.lang.String"); 
+ 
         return soundex((String) pObject);
     }
 
