You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2011/03/26 17:31:08 UTC
svn commit: r1085759 -
/mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java
Author: ngn
Date: Sat Mar 26 16:31:08 2011
New Revision: 1085759
URL: http://svn.apache.org/viewvc?rev=1085759&view=rev
Log:
Don't swallow exception in main
Modified:
mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java
Modified: mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java?rev=1085759&r1=1085758&r2=1085759&view=diff
==============================================================================
--- mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java (original)
+++ mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java Sat Mar 26 16:31:08 2011
@@ -58,7 +58,7 @@ public class ServerMain {
*
* @param args
*/
- public static void main(String[] args) throws AccountCreationException, FileNotFoundException {
+ public static void main(String[] args) throws Exception {
String domain = "vysper.org";
@@ -107,12 +107,8 @@ public class ServerMain {
}
}
- try {
- server.start();
- System.out.println("vysper server is running...");
- } catch (Exception e) {
- e.printStackTrace();
- }
+ server.start();
+ System.out.println("vysper server is running...");
}
private static List<Module> createModuleInstances(String[] moduleClassNames) {