mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-16 12:12:06 +01:00
Stops printing exceptions to the console when a class to load at start-up is not found
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2206 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
4dfb2b08fa
commit
d25d36448e
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,6 @@
|
||||||
package org.jivesoftware.smack;
|
package org.jivesoftware.smack;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.lang.reflect.*;
|
|
||||||
import java.net.*;
|
import java.net.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -138,7 +137,8 @@ public final class SmackConfiguration {
|
||||||
Class.forName(className);
|
Class.forName(className);
|
||||||
}
|
}
|
||||||
catch (ClassNotFoundException cnfe) {
|
catch (ClassNotFoundException cnfe) {
|
||||||
cnfe.printStackTrace();
|
// TODO Replace the printStackTrace to the console with a logger system
|
||||||
|
//cnfe.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue