Replaced use of Java 1.5 IllegalArgumentException constructor.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user