Uses of Class
net.sf.jagzilla.exceptions.JagzillaException

Packages that use JagzillaException
net.sf.jagzilla Main package for jagzilla which contains core api interfaces and implementing classes. 
net.sf.jagzilla.exceptions Jagzilla exceptions package. 
net.sf.jagzilla.taglib This package contains classes that conform the jagzilla taglib. 
 

Uses of JagzillaException in net.sf.jagzilla
 

Methods in net.sf.jagzilla that throw JagzillaException
protected  void BaseQuery.continueIfProductExists(java.lang.String product)
          validates the existance of product and throws NoSuchProductException if it does not exits.
protected  void BaseQuery.continueIfUsersExists(int profileId)
          validate a profile and throw exceptions on error or do nothing on sucess.
protected  int BaseQuery.getFieldId(java.lang.String field)
          gets the field id of a given field name.
protected  Component BaseQuery.locateComponent(java.lang.String name)
          helper method for validating a component.
protected  Product BaseQuery.locateProduct(java.lang.String name)
          Helper method for locating and validating a product.
protected  Bug BaseQuery.locateBug(int id)
          helper method for validating a bug.
protected  Profile BaseQuery.locateProfile(int id)
          helper method for validating a profile.
 java.util.List BugQuery.getLastBugs(int count)
          gets the latest bugs.
 java.util.List BugQuery.getBugsAssignedTo(int userid)
          gets all bugs that are assigned to the specified user
 java.util.List BugQuery.getBugsReportedBy(int userid)
          gets all bugs reported by the specified user.
 int BugQuery.getTotalBugCount()
          return the total ammount of bugs in database.
 Bug BugQuery.getBugById(int id)
          gets the bug with the given id.
 int BugQuery.getBugCountWithStatus(java.lang.String status)
          return the ammount of bugs with given status.
 int BugQuery.getBugCountForComponent(java.lang.String component)
          gets the total ammount of bugs for the given component.
 int BugQuery.getBugCountQuery(java.lang.String product, java.lang.String component, java.lang.String version, java.lang.String milestone, java.util.Date creationFrom, java.util.Date creationTo, java.lang.String priority, java.lang.String severity, java.lang.String status, java.lang.String resolution, int assignedTo)
          Deprecated. see getBugCountQuery(String, String, String , String , Date , Date , String , String , String , String , int , int )
 int BugQuery.getBugCountQuery(java.lang.String product, java.lang.String component, java.lang.String version, java.lang.String milestone, java.util.Date creationFrom, java.util.Date creationTo, java.lang.String priority, java.lang.String severity, java.lang.String status, java.lang.String resolution, int assignedTo, int reportedBy)
           
 java.util.List BugQuery.getBugsQuery(java.lang.String product, java.lang.String component, java.lang.String version, java.lang.String milestone, java.util.Date creationFrom, java.util.Date creationTo, java.lang.String priority, java.lang.String severity, java.lang.String status, java.lang.String resolution, int assignedTo, int reportedBy)
          gets all bugs that match the criteria.
 java.util.List BugQuery.getBugsForProduct(Product product)
          gets all bugs for the specified product.
 java.util.List BugQuery.getBugsForComponent(Component component)
          gets all bugs for the specified component
 java.util.List BugQuery.getBugsForMilestone(Milestone milestone)
          gets all bugs for the specified milestone
 java.util.List BugQuery.getBugsForVersion(Version version)
          gets all bugs for the specified version
 java.util.List BugQuery.getBugsSince(java.util.Date since)
          gets a list of bugs created after since
 java.util.List BugQuery.getAllBugs()
          gets a list of all bugs in database.
 void BugQuery.addBug(Bug bug)
          adds a new bug to the database.
 void BugQuery.addBugWithComment(Bug bug, java.lang.String comment)
          adds a bug with comment as the first long description of the bug.
 void BugQuery.addBugComment(int bugId, int userId, java.lang.String comment)
          adds a comment to the bug.
 void BugQuery.addBugAttach(Attachment attach)
          Adds an attachment to a bug.
 void BugQuery.removeBug(int id)
          removes the bug with the given id
 void BugQuery.updateBug(Bug bug)
          updates the bug.
 void BugQuery.changeBugStatus(int profile, int bugId, java.lang.String status, int asignee)
          changes the status of a bug.
 void BugQuery.changeBugPriority(int profile, int bugId, java.lang.String pri, java.lang.String comment)
          changes the priority of a bug.
 void BugQuery.changeBugSeverity(int profile, int bugId, java.lang.String sev, java.lang.String comment)
          changes the severity of a bug.
 void BugQuery.resolveBug(int profile, int bugId, java.lang.String resolution, int dupeId)
          resolves a bug.
 java.util.List BugQuery.getCcList(int bugId)
          returns the cc list of a given bug.
 SystemQuery BugQuery.getSystemQuery()
          gets an instance of SystemQuery with configuration of current implementation.
 java.util.List BugQueryHibernateImpl.getLastBugs(int count)
           
 java.util.List BugQueryHibernateImpl.getBugsAssignedTo(int userid)
           
 int BugQueryHibernateImpl.getTotalBugCount()
           
 int BugQueryHibernateImpl.getBugCountWithStatus(java.lang.String status)
           
 java.util.List BugQueryHibernateImpl.getBugsQuery(java.lang.String product, java.lang.String component, java.lang.String version, java.lang.String milestone, java.util.Date creationFrom, java.util.Date creationTo, java.lang.String priority, java.lang.String severity, java.lang.String status, java.lang.String resolution, int assignedTo)
           
 void BugQueryHibernateImpl.addBug(Bug bug)
           
 void BugQueryHibernateImpl.removeBug(Bug bug)
           
 void BugQueryHibernateImpl.removeBug(int id)
           
 int BugQueryHibernateImpl.getBugCountForComponent(java.lang.String component)
           
 int BugQueryHibernateImpl.getBugCountQuery(java.lang.String product, java.lang.String component, java.lang.String version, java.lang.String milestone, java.util.Date creationFrom, java.util.Date creationTo, java.lang.String priority, java.lang.String severity, java.lang.String status, java.lang.String resolution, int assignedTo)
           
 void BugQueryHibernateImpl.addBugComment(int bugId, int userId, java.lang.String comment)
           
 void BugQueryHibernateImpl.addBugAttach(Attachment attachment)
           
 Bug BugQueryHibernateImpl.getBugById(int id)
           
 java.util.List BugQueryHibernateImpl.getBugsSince(java.util.Date since)
           
 java.util.List BugQueryHibernateImpl.getBugsForProduct(Product product)
           
 java.util.List BugQueryHibernateImpl.getBugsForComponent(Component component)
           
 java.util.List BugQueryHibernateImpl.getBugsForMilestone(Milestone milestone)
           
 java.util.List BugQueryHibernateImpl.getBugsForVersion(Version version)
           
 void BugQueryHibernateImpl.addBugWithComment(Bug bug, java.lang.String comment)
           
 void BugQueryHibernateImpl.changeBugStatus(int profile, int bugId, java.lang.String status, int asignee)
           
 void BugQueryHibernateImpl.resolveBug(int profile, int bugId, java.lang.String resolution, int dupeId)
           
 void BugQueryHibernateImpl.changeBugPriority(int profile, int bugId, java.lang.String pri, java.lang.String comment)
           
 void BugQueryHibernateImpl.changeBugSeverity(int profile, int bugId, java.lang.String sev, java.lang.String comment)
           
 java.util.List BugQueryHibernateImpl.getBugsReportedBy(int userid)
           
 java.util.List BugQueryHibernateImpl.getBugsQuery(java.lang.String product, java.lang.String component, java.lang.String version, java.lang.String milestone, java.util.Date creationFrom, java.util.Date creationTo, java.lang.String priority, java.lang.String severity, java.lang.String status, java.lang.String resolution, int assignedTo, int reportedBy)
           
 void BugQueryHibernateImpl.updateBug(Bug bug)
           
 java.util.List BugQueryHibernateImpl.getAllBugs()
           
 java.util.List BugQueryHibernateImpl.getCcList(int bugId)
           
 SystemQuery BugQueryHibernateImpl.getSystemQuery()
           
 int BugQueryHibernateImpl.getBugCountQuery(java.lang.String product, java.lang.String component, java.lang.String version, java.lang.String milestone, java.util.Date creationFrom, java.util.Date creationTo, java.lang.String priority, java.lang.String severity, java.lang.String status, java.lang.String resolution, int assignedTo, int reportedBy)
           
static JFreeChart ChartFactory.getTotalBugsByProductChart(BugQuery bq, SystemQuery sq)
          gets a chart 3D pie chart with the total ammount of bugs by product.
 JFreeChart ChartFactory.getTotalBugsByComponentChart(BugQuery bq, SystemQuery sq, java.lang.String product)
           
 JFreeChart ChartFactory.getBugStatusTimelineChart(BugQuery bq, SystemQuery sq, java.lang.String product, java.lang.String from, java.lang.String to)
           
 JFreeChart ChartFactory.getTotalBugsByDeveloperAssigned(BugQuery bq, SystemQuery sq)
           
 java.util.List SystemQuery.getProducts()
          gets a List of Products in database.
 java.util.List SystemQuery.getProductNames()
          gets a List of strings of product names in database.
 java.util.List SystemQuery.getComponents(java.lang.String product)
          gets all components for a product.
 java.util.List SystemQuery.getAllComponents()
          gets a list of all components in the system regardless of which product they belong to.
 java.util.List SystemQuery.getComponentNames(java.lang.String product)
          gets a list of component names.
 java.util.List SystemQuery.getVersions(java.lang.String product)
          gets all versions for a given product.
 java.util.List SystemQuery.getVersionNames(java.lang.String product)
          gets a list of version names for a given product
 java.util.List SystemQuery.getMilestones(java.lang.String product)
          gets all milestones for a given product.
 java.util.List SystemQuery.getMilestoneNames(java.lang.String product)
          gets a list of milestone names for the given product.
 java.util.List SystemQuery.getProfiles()
          gets all profiles in database.
 Profile SystemQuery.getProfile(int userId)
          gets the profile for a given user id.
 int SystemQuery.getUserId(java.lang.String login)
          gets the id of the user given it's login.
 void SystemQuery.addCc(int bugId, int profileId)
          adds a profile to the cc list of a bug.
 void SystemQuery.removeCc(int bugId, int profileId)
          removes a profile from the cc list of a bug.
 BugQuery SystemQuery.getBugQuery()
          gets an instance of the BugQuery with transport configuration of actual implementation.
 java.util.List SystemQueryHibernateImpl.getProducts()
           
 java.util.List SystemQueryHibernateImpl.getProductNames()
           
 java.util.List SystemQueryHibernateImpl.getComponents(java.lang.String product)
           
 java.util.List SystemQueryHibernateImpl.getComponentNames(java.lang.String product)
           
 java.util.List SystemQueryHibernateImpl.getVersions(java.lang.String product)
           
 java.util.List SystemQueryHibernateImpl.getVersionNames(java.lang.String product)
           
 java.util.List SystemQueryHibernateImpl.getMilestones(java.lang.String product)
           
 java.util.List SystemQueryHibernateImpl.getMilestoneNames(java.lang.String product)
           
 java.util.List SystemQueryHibernateImpl.getProfiles()
           
 Profile SystemQueryHibernateImpl.getProfile(int userId)
           
 java.util.List SystemQueryHibernateImpl.getAllComponents()
           
 int SystemQueryHibernateImpl.getUserId(java.lang.String login)
           
 void SystemQueryHibernateImpl.addCc(int bugId, int profileId)
           
 void SystemQueryHibernateImpl.removeCc(int bugId, int profileId)
           
 BugQuery SystemQueryHibernateImpl.getBugQuery()
           
 

Constructors in net.sf.jagzilla that throw JagzillaException
EventHandler(BugQuery bq, SystemQuery sq)
          constructs a new event handler.
 

Uses of JagzillaException in net.sf.jagzilla.exceptions
 

Subclasses of JagzillaException in net.sf.jagzilla.exceptions
 class BadParameterException
          base class for all exceptions related to a bad parameter, which is not looked up dynamicallym but can be found in system constants.
 class BadPriorityException
          priority is not a constant value in Bug class
 class BadResolutionException
          resolution is not a constant value in Bug class
 class BadSeverityException
          severity is not a constant value in Bug class
 class BadStatusException
          status is not a constant value in Bug class
 class ComponentNotUniqueException
          indicates that it was assumed that a component name is unique (and it wasn't).
 class DateInFutureException
          exception that indicates that a date received references a time instance in the future when it should not.
 class InconsistencyException
          represents some inconsistency in data or the imposibility to identify a record by a field.
 class JagzillaEventException
          base class for errors related to event handling.
 class JagzillaImplementationException
          base class for errors related to core api implementation specific errors.
 class NoComponentsException
          inconsistency indicating there are no components.
 class NoSuchAsigneeException
          exception thrown when the reporter does not exist.
 class NoSuchBugException
          indicates that the referenced bug was not found in database.
 class NoSuchComponentException
          indicates that the referenced component was not found in database.
 class NoSuchException
          base class for all exceptions related to a non-existing element.
 class NoSuchMilestoneException
          indicates that the referenced milestone was not found in database.
 class NoSuchProductException
          indicates that the referenced product was not found in database.
 class NoSuchProfileException
          indicates that the referenced profile was not found in database.
 class NoSuchReporterException
          exception thrown when the reporter does not exist.
 class NoSuchVersionException
          indicates that the version specified was not found in database.
 class NotImplementedException
          Exception that indicates that the requested function has not been implemented.
 class NotUniqueException
          indicates that an assumption made that an identifier would be unique failed (The identifier was not uniqe).
 class NullSourceException
          exception thrown when the application is trying to fire an event with an unconfigured source.
 class ProductComponentRelationException
          indicates that the specified component does not belong to the product.
 

Uses of JagzillaException in net.sf.jagzilla.taglib
 

Methods in net.sf.jagzilla.taglib that throw JagzillaException
 java.lang.String ReflectFormatter.format(java.lang.String string, java.lang.Object o)
          formats a string .
 



Distributed under the GPL. By Miguel Griffa. See the Jagzilla project page for more info.