Package com.salas.bb.persistence

Examples of com.salas.bb.persistence.PersistenceException


                if (stmt != null) stmt.close();
            }
        } catch (SQLException e)
        {
            LOG.log(Level.SEVERE, "Failed to get most visited feeds", e);
            throw new PersistenceException("Error finding most visited feeds", e);
        }

        return stats;
    }
View Full Code Here


                if (stmt != null) stmt.close();
            }
        } catch (SQLException e)
        {
            LOG.log(Level.SEVERE, "Failed to get read stats per hour", e);
            throw new PersistenceException("Error finding read stats per hour", e);
        }

        return stats;
    }
View Full Code Here

                if (stmt != null) stmt.close();
            }
        } catch (SQLException e)
        {
            LOG.log(Level.SEVERE, "Failed to get read stats per day", e);
            throw new PersistenceException("Error finding read stats per day", e);
        }

        return stats;
    }
View Full Code Here

                if (stmt != null) stmt.close();
                if (rs != null) rs.close();
            }
        } catch (SQLException e)
        {
            throw new PersistenceException("Failed to fetch stats.", e);
        }

        // Convert data
        List<ReadStats> rstats = new LinkedList<ReadStats>();
        for (Map.Entry<Long, Map<Long, Integer>> entry : stats.entrySet())
View Full Code Here

TOP

Related Classes of com.salas.bb.persistence.PersistenceException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.