1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 02:27:58 +01:00

Reduce scope of catched Exceptions in JavaxResolver

This commit is contained in:
Florian Schmaus 2019-02-16 10:03:32 +01:00
parent eccaf58df1
commit db8e37d75f

View file

@ -52,7 +52,7 @@ public class JavaxResolver extends DNSResolver implements SmackInitializer {
static {
try {
dirContext = new InitialDirContext();
} catch (Exception e) {
} catch (NamingException e) {
LOGGER.log(Level.SEVERE, "Could not construct InitialDirContext", e);
}