Changeset 30946 in vbox
- Timestamp:
- Jul 21, 2010 10:44:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/tests/TestVBox.java
r30932 r30946 128 128 try { 129 129 mgr.connect(url, user, passwd); 130 } catch ( Exception e) {130 } catch (VBoxException e) { 131 131 e.printStackTrace(); 132 System.out.println("Cannot connect, start webserver first!"); 132 System.out.println("Cannot connect, start webserver first!"); 133 133 } 134 134 } … … 148 148 } 149 149 } 150 catch (Throwable e) 150 catch (VBoxException e) 151 { 152 System.out.println("VBox error: "+e.getMessage()+" original="+e.getWrapped()); 153 e.printStackTrace(); 154 } 155 catch (java.io.IOException e) 151 156 { 152 157 e.printStackTrace(); … … 157 162 try { 158 163 mgr.disconnect(); 159 } catch ( Exception e) {164 } catch (VBoxException e) { 160 165 e.printStackTrace(); 161 166 }
Note:
See TracChangeset
for help on using the changeset viewer.