Ignore:
Timestamp:
Apr 20, 2011, 5:17:02 AM (13 years ago)
Author:
anthony43
Message:

huge refactoring to introduce JiwigoException : a generic exception encapsulating low level exceptions (IOException, ProxyAuthentication, etc...)
The aim is to have, on the consumer side, just one exception to catch them all.
this refactoring may need a code review to check the changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/jiwigo-ws-api/src/main/java/fr/mael/jiwigo/dao/CategoryDao.java

    r9919 r10505  
    55
    66import fr.mael.jiwigo.om.Category;
     7import fr.mael.jiwigo.transverse.exception.JiwigoException;
    78import fr.mael.jiwigo.transverse.exception.ProxyAuthenticationException;
    89
     
    1516     * @throws IOException
    1617     * @throws ProxyAuthenticationException
     18     * @throws JiwigoException
    1719     */
    18     public List<Category> list(boolean recursive) throws IOException, ProxyAuthenticationException;
     20    public List<Category> list(boolean recursive) throws JiwigoException;
    1921
    2022    /**
     
    2325     * @return true if the category is successfully created
    2426     * @throws ProxyAuthenticationException
     27     * @throws JiwigoException
    2528     */
    26     public boolean create(Category category) throws ProxyAuthenticationException;
     29    public boolean create(Category category) throws JiwigoException;
    2730}
Note: See TracChangeset for help on using the changeset viewer.