mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 03:52:06 +01:00
Reduce scope of catched Exceptions in JavaxResolver
This commit is contained in:
parent
eccaf58df1
commit
db8e37d75f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class JavaxResolver extends DNSResolver implements SmackInitializer {
|
||||||
static {
|
static {
|
||||||
try {
|
try {
|
||||||
dirContext = new InitialDirContext();
|
dirContext = new InitialDirContext();
|
||||||
} catch (Exception e) {
|
} catch (NamingException e) {
|
||||||
LOGGER.log(Level.SEVERE, "Could not construct InitialDirContext", e);
|
LOGGER.log(Level.SEVERE, "Could not construct InitialDirContext", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue