Skip to content

Commit

Permalink
Clean up javadoc, fix thrown Exception from findAlerts()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Jul 15, 2009
1 parent 18d8a5d commit 6197ae4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/org/hyperic/hq/hqapi1/AlertApi.java
Expand Up @@ -47,7 +47,7 @@ public class AlertApi extends BaseApi {
* @param begin The beginning of the time window in epoch-millis.
* @param end The end of the time window in epoch-millis.
* @param count The maximum number of Alert instances to return.
* @param severity The minimum severity to query. 1 = LOW - 3 = HIGH
* @param severity The minimum severity to query. 1 = LOW, 2 = MEDIUM, 3 = HIGH
* @param inEscalation If true, only return Alerts which are in Escalation
* @param notFixed If true, only return Alerts which are not fixed.
*
Expand Down Expand Up @@ -85,7 +85,7 @@ public AlertsResponse findAlerts(long begin, long end, int count,
* @param begin The beginning of the time window in epoch-millis.
* @param end The end of the time window in epoch-millis.
* @param count The maximum number of Alert instances to return.
* @param severity The minimum severity to query. 1 = LOW - 3 = HIGH
* @param severity The minimum severity to query. 1 = LOW, 2 = MEDIUM, 3 = HIGH
* @param inEscalation If true, only return Alerts which are in Escalation
* @param notFixed If true, only return Alerts which are not fixed.
*
Expand All @@ -99,7 +99,7 @@ public AlertsResponse findAlerts(Resource r, long begin, long end,
int count, int severity,
Boolean inEscalation,
Boolean notFixed)
throws Exception
throws IOException
{
Map<String,String[]> params = new HashMap<String,String[]>();
params.put("resourceId", new String[] { Integer.toString(r.getId())});
Expand Down

0 comments on commit 6197ae4

Please sign in to comment.