Index: /trunk/src/VBox/Main/glue/tests/TestVBox.java
===================================================================
--- /trunk/src/VBox/Main/glue/tests/TestVBox.java	(revision 30945)
+++ /trunk/src/VBox/Main/glue/tests/TestVBox.java	(revision 30946)
@@ -128,7 +128,7 @@
             try {
                 mgr.connect(url, user, passwd);
-            } catch (Exception e) {
+            } catch (VBoxException e) {
                 e.printStackTrace();
-                System.out.println("Cannot connect, start webserver first!");                
+                System.out.println("Cannot connect, start webserver first!");
             }
         }
@@ -148,5 +148,10 @@
             }
         }
-        catch (Throwable e)
+        catch (VBoxException e)
+        {
+            System.out.println("VBox error: "+e.getMessage()+" original="+e.getWrapped());
+            e.printStackTrace();
+        }
+        catch (java.io.IOException e)
         {
             e.printStackTrace();
@@ -157,5 +162,5 @@
             try {
                 mgr.disconnect();
-            } catch (Exception e) {
+            } catch (VBoxException e) {
                 e.printStackTrace();
             }
