modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java
| 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit b89e87b60e77452da15d66459f9d752ee7c63e84
Author: Joseph Marques <joseph(a)redhat.com>
Date: Thu Dec 23 13:42:38 2010 -0500
revert method signature
diff --git
a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java
b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java
index 5858d84..3072708 100644
---
a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java
+++
b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/server/gwt/AlertGWTServiceImpl.java
@@ -37,7 +37,7 @@ public class AlertGWTServiceImpl extends AbstractGWTServiceImpl
implements Alert
private AlertManagerLocal alertManager = LookupUtil.getAlertManager();
- public PageList<Alert> findAlertsByCriteria(AlertCriteria criteria) throws
Exception {
+ public PageList<Alert> findAlertsByCriteria(AlertCriteria criteria) throws
RuntimeException {
try {
return
SerialUtility.prepare(this.alertManager.findAlertsByCriteria(getSessionSubject(),
criteria),
"AlertService.findAlertsByCriteria");
@@ -46,7 +46,7 @@ public class AlertGWTServiceImpl extends AbstractGWTServiceImpl
implements Alert
}
}
- public int deleteAlerts(int[] alertIds) throws Exception {
+ public int deleteAlerts(int[] alertIds) throws RuntimeException {
try {
return this.alertManager.deleteAlerts(getSessionSubject(), alertIds);
} catch (Throwable t) {
@@ -54,7 +54,7 @@ public class AlertGWTServiceImpl extends AbstractGWTServiceImpl
implements Alert
}
}
- public int deleteAlertsByContext(EntityContext context) throws Exception {
+ public int deleteAlertsByContext(EntityContext context) throws RuntimeException {
try {
return this.alertManager.deleteAlertsByContext(getSessionSubject(),
context);
} catch (Throwable t) {
@@ -62,7 +62,7 @@ public class AlertGWTServiceImpl extends AbstractGWTServiceImpl
implements Alert
}
}
- public int acknowledgeAlerts(int[] alertIds) throws Exception {
+ public int acknowledgeAlerts(int[] alertIds) throws RuntimeException {
try {
return this.alertManager.acknowledgeAlerts(getSessionSubject(), alertIds);
} catch (Throwable t) {
@@ -70,7 +70,7 @@ public class AlertGWTServiceImpl extends AbstractGWTServiceImpl
implements Alert
}
}
- public int acknowledgeAlertsByContext(EntityContext context) throws Exception {
+ public int acknowledgeAlertsByContext(EntityContext context) throws RuntimeException
{
try {
return this.alertManager.acknowledgeAlertsByContext(getSessionSubject(),
context);
} catch (Throwable t) {