mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 22:32:43 +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 {
|
try {
|
||||||
return new URI(url);
|
return new URI(url);
|
||||||
} catch (URISyntaxException e) {
|
} 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