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

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

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

revision 1395 by torben, Sat Apr 23 08:01:57 2011 UTC revision 1396 by torben, Thu Apr 28 10:13:36 2011 UTC
# Line 67  public class TimetableServlet extends Ht Line 67  public class TimetableServlet extends Ht
67                  } catch (java.io.IOException ioe) {                  } catch (java.io.IOException ioe) {
68                          logger.warning("(timetable) Read failed, type=" + type + ", train="+train + ". " + ioe.getMessage());                          logger.warning("(timetable) Read failed, type=" + type + ", train="+train + ". " + ioe.getMessage());
69                          Statistics.getInstance().incrementTimetableErrors();                          Statistics.getInstance().incrementTimetableErrors();
70                          timetable = generateErrorBean(1);                          //timetable = generateErrorBean(1);
71                            response.sendError( 500, "Backend didn't answer" );
72                  } catch (CircuitBreakerException cbe) {                  } catch (CircuitBreakerException cbe) {
73                          logger.warning("Circuitbreaker - failing fast, type=" + type + ", train="+train);                          logger.warning("Circuitbreaker - failing fast, type=" + type + ", train="+train);
74                          Statistics.getInstance().incrementTimetableErrors();                                              Statistics.getInstance().incrementTimetableErrors();                    

Legend:
Removed from v.1395  
changed lines
  Added in v.1396

  ViewVC Help
Powered by ViewVC 1.1.20