예제 #1
0
 public synchronized void exceptionOccurred(Throwable e) {
   try {
     completeResponse();
     testSystemGroup.kill();
   } catch (Exception e1) {
     e1.printStackTrace();
   }
 }
예제 #2
0
 public boolean start() {
   try {
     theService = new SocketService(context.port, new FitNesseServer(context));
     return true;
   } catch (BindException e) {
     printBadPortMessage(context.port);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return false;
 }