From 1318ca0dedd3b2c0e5457979b0d4ec111df6fa8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 23 May 2009 17:22:55 +0200 Subject: [PATCH] Complete documentation. --- src/net/pterodactylus/util/number/Hex.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/pterodactylus/util/number/Hex.java b/src/net/pterodactylus/util/number/Hex.java index f92a31a..de7929e 100644 --- a/src/net/pterodactylus/util/number/Hex.java +++ b/src/net/pterodactylus/util/number/Hex.java @@ -68,6 +68,8 @@ public class Hex { * The hexadecimal representation to decode * @return The decoded byte array * @see Integer#parseInt(java.lang.String, int) + * @throw NumberFormatException if the given string is not the hexadecimal + * representation of a byte array */ public static byte[] toByte(String hexString) { if ((hexString.length() & 0x01) == 0x01) { -- 2.7.4