diff --git a/src/com/shashi/service/impl/BookingServiceImpl.java b/src/com/shashi/service/impl/BookingServiceImpl.java index 5ba2d2d..031b69f 100644 --- a/src/com/shashi/service/impl/BookingServiceImpl.java +++ b/src/com/shashi/service/impl/BookingServiceImpl.java @@ -72,7 +72,7 @@ public HistoryBean createHistory(HistoryBean details) throws TrainException { } ps.close(); } catch (SQLException e) { - System.out.println(e.getMessage()); + System.out.println("error is " + e.getMessage()); throw new TrainException(e.getMessage()); } return history;