File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/codec/net Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ private int expectedDecodingBytes(final byte[] bytes) {
230230 *
231231 * @param obj the object to encode
232232 * @return the encoding result byte[] as Object
233- * @throws EncoderException
233+ * @throws EncoderException if the object is not a byte array
234234 */
235235 @ Override
236236 public Object encode (final Object obj ) throws EncoderException {
@@ -248,7 +248,7 @@ public Object encode(final Object obj) throws EncoderException {
248248 *
249249 * @param obj the object to decode
250250 * @return the decoding result byte[] as Object
251- * @throws DecoderException
251+ * @throws DecoderException if the object is not a byte array
252252 */
253253 @ Override
254254 public Object decode (final Object obj ) throws DecoderException {
You can’t perform that action at this time.
0 commit comments