Replaced use of Java 1.5 IllegalArgumentException constructor.

This commit is contained in:
Luke Taylor 2006-01-27 01:20:15 +00:00
parent 20469b6ac9
commit 13a0784736

View File

@ -60,7 +60,8 @@ public class LdapUtils {
try {
return new URI(url);
} catch (URISyntaxException e) {
throw new IllegalArgumentException("Unable to parse url: " + url, e);
logger.error("Failed to parse url " + url, e);
throw new IllegalArgumentException("Unable to parse url: " + url);
}
}