--- /Hex.java	2023-07-05 03:11:51.894028052 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Hex.java	2023-07-05 03:11:51.898028052 +0200
@@ -185,7 +185,7 @@
             byte[] byteArray = object instanceof String ? ((String) object).getBytes() : (byte[]) object;
 			return encodeHex(byteArray);
 		} catch (ClassCastException e) {
-			throw new EncoderException(e.getMessage());
+throw throw  new DecoderException ( e.getMessage (  )  )   ;
 		}
 	}
 
