/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureServlet.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureServlet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 715 by torben, Wed May 5 20:11:03 2010 UTC revision 716 by torben, Mon May 10 06:53:20 2010 UTC
# Line 67  public class DepartureServlet extends Ht Line 67  public class DepartureServlet extends Ht
67                          beans = fetcher.cachedLookupDepartures(station);                          beans = fetcher.cachedLookupDepartures(station);
68                  } catch (java.io.IOException ioe) {                  } catch (java.io.IOException ioe) {
69                          logger.warning("Read failed, station="+station + ". " + ioe.getMessage() );                          logger.warning("Read failed, station="+station + ". " + ioe.getMessage() );
70                            Statistics.getInstance().incrementDepartureErrors();
71                          resp.sendError(500);                          resp.sendError(500);
72                          return;                          return;
73                  } catch (CircuitBreakerException cbe) {                  } catch (CircuitBreakerException cbe) {
74                          logger.warning("Circuitbreaker - failing fast");                          logger.warning("Circuitbreaker - failing fast");
75                            Statistics.getInstance().incrementDepartureErrors();
76                          resp.sendError(500);                          resp.sendError(500);
77                          return;                          return;
78                  } catch (Exception e) {                                  } catch (Exception e) {                
79                          logger.log(Level.WARNING, "Unknown exception, station=" +station, e);                          logger.log(Level.WARNING, "Unknown exception, station=" +station, e);
80                            Statistics.getInstance().incrementDepartureErrors();
81                          resp.sendError(500);                          resp.sendError(500);
82                          return;                          return;
83                  }                  }

Legend:
Removed from v.715  
changed lines
  Added in v.716

  ViewVC Help
Powered by ViewVC 1.1.20