mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-09 06:50:05 +00:00
Replaced use of Java 1.5 IllegalArgumentException constructor.
This commit is contained in:
parent
20469b6ac9
commit
13a0784736
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user