[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-commits
Subject:    svn commit: r1085759 -
From:       ngn () apache ! org
Date:       2011-03-26 16:31:08
Message-ID: 20110326163108.ECF4F23888CE () eris ! apache ! org
[Download RAW message or body]

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/apac \
he/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) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic