Tighten en exception
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
*/
|
||||
package org.airsonic.player.util;
|
||||
|
||||
import org.apache.commons.codec.DecoderException;
|
||||
import org.apache.commons.codec.binary.Hex;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
@@ -321,9 +322,9 @@ public final class StringUtil {
|
||||
*
|
||||
* @param s The string to decode.
|
||||
* @return The decoded string.
|
||||
* @throws Exception If an error occurs.
|
||||
* @throws DecoderException If an error occurs.
|
||||
*/
|
||||
public static String utf8HexDecode(String s) throws Exception {
|
||||
public static String utf8HexDecode(String s) throws DecoderException {
|
||||
if (s == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user