Remove unused exceptions.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1751512 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/java/org/apache/commons/codec/binary/HexTest.java b/src/test/java/org/apache/commons/codec/binary/HexTest.java
index 1ae7ac5..de928aa 100644
--- a/src/test/java/org/apache/commons/codec/binary/HexTest.java
+++ b/src/test/java/org/apache/commons/codec/binary/HexTest.java
@@ -304,7 +304,7 @@
     }
 
     @Test
-    public void testEncodeByteArrayEmpty() throws EncoderException {
+    public void testEncodeByteArrayEmpty() {
         assertTrue(Arrays.equals(new byte[0], new Hex().encode(new byte[0])));
     }
 
@@ -314,7 +314,7 @@
     }
 
     @Test
-    public void testEncodeByteBufferEmpty() throws EncoderException {
+    public void testEncodeByteBufferEmpty() {
         assertTrue(Arrays.equals(new byte[0], new Hex().encode(ByteBuffer.allocate(0))));
     }
 
@@ -367,7 +367,7 @@
     }
 
     @Test
-    public void testEncodeHexByteArrayEmpty() throws EncoderException {
+    public void testEncodeHexByteArrayEmpty() {
         assertTrue(Arrays.equals(new char[0], Hex.encodeHex(new byte[0])));
         assertTrue(Arrays.equals(new byte[0], new Hex().encode(new byte[0])));
     }
@@ -405,7 +405,7 @@
     }
 
     @Test
-    public void testEncodeHexByteBufferEmpty() throws EncoderException {
+    public void testEncodeHexByteBufferEmpty() {
         assertTrue(Arrays.equals(new char[0], Hex.encodeHex(ByteBuffer.allocate(0))));
         assertTrue(Arrays.equals(new byte[0], new Hex().encode(ByteBuffer.allocate(0))));
     }
@@ -448,12 +448,12 @@
     }
 
     @Test
-    public void testGetCharset() throws UnsupportedEncodingException, DecoderException {
+    public void testGetCharset() {
         Assert.assertEquals(Charsets.UTF_8, new Hex(Charsets.UTF_8).getCharset());
     }
 
     @Test
-    public void testGetCharsetName() throws UnsupportedEncodingException, DecoderException {
+    public void testGetCharsetName() {
         Assert.assertEquals(Charsets.UTF_8.name(), new Hex(Charsets.UTF_8).getCharsetName());
     }