Пример #1
0
 /**
  * Supprime un article
  *
  * @param post article
  * @throws BlogException
  */
 public void removePost(IPost post) throws BlogException {
   try {
     bean.removePost(post.getPostid());
   } catch (EJBAccessException e) {
     throw new BlogException(
         null,
         BlogInternationalizationUtils.getMessages().getString("acces.non.autorise"),
         Constants.HOME_PAGE);
   }
 }