Logger.error(username, this.getClass().getName(),
"executeCommand", "Error while inserting new days of week in the employee calendar", ex);
try {
if (this.conn==null && conn!=null)
// rollback only local connection
conn.rollback();
}
catch (Exception ex3) {
}
throw new Exception(ex.getMessage());
}