djencks 2003/12/28 11:29:30
Modified: modules/kernel/src/java/org/apache/geronimo/kernel/service
GeronimoMBeanContext.java
Log:
No exception needed
Revision Changes Path
1.5 +4 -5
incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanContext.java
Index: GeronimoMBeanContext.java
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanContext.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- GeronimoMBeanContext.java 16 Nov 2003 23:32:29 -0000 1.4
+++ GeronimoMBeanContext.java 28 Dec 2003 19:29:30 -0000 1.5
@@ -115,14 +115,13 @@
/**
* Gets the state of this component as an int.
* The int return is required by the JSR77 specification.
- *
+ *
* @return the current state of this component
- * @throws Exception if a problem occurs while starting the component
*/
- public int getState() throws Exception {
+ public int getState() {
return geronimoMBean.getState();
}
-
+
/**
* Attempts to bring the component into the fully running state. If an
Exception occurs while
* starting the component, the component is automaticaly failed.