A generic exception that occured when dealing with the Catalog.
413414415416417418419420421422423
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback modifyProduct transaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (statement != null) { try { statement.close();
487488489490491492493494495496497
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback removeProduct transaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (statement != null) { try { statement.close(); } catch (SQLException ignore) {
547548549550551552553554555556557
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback setProductTransferStatus transaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (statement != null) { try { statement.close();
630631632633634635636637638639640
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback addProductReferences transaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (rs != null) { try { rs.close();
701702703704705706707708709710711
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback getProductById transaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (rs != null) { try { rs.close();
775776777778779780781782783784785
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback getProductByName transaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (rs != null) { try { rs.close();
9293949596979899100
LOG.info(response); return response; } catch(Exception e) { e.printStackTrace(); throw new CatalogException(e.getMessage()); } }
853854855856857858859860861862863
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback getProductTypeById transaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (rs != null) { try { rs.close();
121122123124125126127128129
return response; } catch(Exception e) { e.printStackTrace(); throw new CatalogException(e.getMessage()); } }
931932933934935936937938939940941
} catch (SQLException e2) { LOG.log(Level.SEVERE, "Unable to rollback getProductstransaction. Message: " + e2.getMessage()); } throw new CatalogException(e.getMessage()); } finally { if (rs != null) { try { rs.close();