Package com.agiletec.aps.system.exception

Examples of com.agiletec.aps.system.exception.ApsSystemException


      dom.setContent(this.getContentTypeElements());
      String xml = dom.getXMLDocument();
      this.getConfigInterface().updateConfigItem(this.getConfigItemName(), xml);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "updateConfig");
      throw new ApsSystemException("Error adding item " + this.getConfigItemName(), t);
    }
  }
View Full Code Here


            usernames = this.getMessageManager().searchId(userMessageType, filters);
        } catch (ApiException ae) {
            throw ae;
        } catch (Throwable t) {
            ApsSystemUtils.logThrowable(t, this, "getMessages");
            throw new ApsSystemException("Error searching usernames", t);
        }
        return usernames;
    }
View Full Code Here

    try {
      Document doc = builder.build(reader);
      root = doc.getRootElement();
    } catch (Throwable t) {
      ApsSystemUtils.getLogger().error("Error parsing xml: " + t.getMessage());
      throw new ApsSystemException("Error parsing xml", t);
    }
    return root;
  }
View Full Code Here

      }
        } catch (ApiException ae) {
            throw ae;
        } catch (Throwable t) {
            ApsSystemUtils.logThrowable(t, this, "getMessage");
            throw new ApsSystemException("Error extracting Message", t);
        }
        return jaxbMessage;
    }
View Full Code Here

        } catch (ApiException ae) {
            response.addErrors(ae.getErrors());
            response.setResult(IResponseBuilder.FAILURE, null);
        } catch (Throwable t) {
            ApsSystemUtils.logThrowable(t, this, "addMessage");
            throw new ApsSystemException("Error adding Message", t);
        }
        return response;
    }
View Full Code Here

                    }
                }
            }
        } catch (Throwable t) {
            ApsSystemUtils.logThrowable(t, this, "validate");
            throw new ApsSystemException("Error validating profile", t);
        }
        return errors;
    }
View Full Code Here

        } catch (ApiException ae) {
            response.addErrors(ae.getErrors());
            response.setResult(IResponseBuilder.FAILURE, null);
        } catch (Throwable t) {
            ApsSystemUtils.logThrowable(t, this, "deleteMessage");
            throw new ApsSystemException("Error deleting Message", t);
        }
    }
View Full Code Here

        this.getRatingDAO().updateRating(rating);
      }
            this.notifyEvent(contentId, -1, ContentFeedbackChangedEvent.CONTENT_RATING, ContentFeedbackChangedEvent.INSERT_OPERATION_CODE);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "addRatingToContent");
      throw new ApsSystemException("Error add rating to content", t);
    }
  }
View Full Code Here

        this.getRatingDAO().updateRating(rating);
      }
            this.notifyEvent(null, commentId, ContentFeedbackChangedEvent.COMMENT_RATING, ContentFeedbackChangedEvent.INSERT_OPERATION_CODE);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "addRatingToComment");
      throw new ApsSystemException("Error add rating to comment", t);
    }
  }
View Full Code Here

      RatingSearchBean searchBean  = new RatingSearchBean();
      searchBean.setContentId(contentId);
      rating = this.getRatingDAO().getRating(searchBean);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "getRating");
      throw new ApsSystemException("Error get content rating", t);
    }
    return rating;
  }
View Full Code Here

TOP

Related Classes of com.agiletec.aps.system.exception.ApsSystemException

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.