mx4j/src/core/javax/management/modelmbean DescriptorSupport.java,1.30,1.31 RequiredModelMBean.java,1.22,1.23

Simone Bordet <[email protected]> Sat, 14 May 2005 08:43:31 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/javax/management/modelmbean
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11684/src/core/javax/management/modelmbean

Modified Files:
	DescriptorSupport.java RequiredModelMBean.java 
Log Message:
Fixed throws clause to be compliant with JMX RI 1.2.1 (adding/removing RuntimeExceptions from throws clause)

Index: RequiredModelMBean.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/modelmbean/RequiredModelMBean.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** RequiredModelMBean.java	14 Feb 2005 07:06:43 -0000	1.22
--- RequiredModelMBean.java	14 May 2005 08:43:29 -0000	1.23
***************
*** 276,285 ****
     }
  
!    public void removeNotificationListener(NotificationListener listener) throws RuntimeOperationsException, ListenerNotFoundException
     {
        m_generalBroadcaster.removeNotificationListener(listener);
     }
  
!    public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws RuntimeOperationsException, ListenerNotFoundException
     {
        m_generalBroadcaster.removeNotificationListener(listener, filter, handback);
--- 276,285 ----
     }
  
!    public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
     {
        m_generalBroadcaster.removeNotificationListener(listener);
     }
  
!    public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
     {
        m_generalBroadcaster.removeNotificationListener(listener, filter, handback);

Index: DescriptorSupport.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/modelmbean/DescriptorSupport.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** DescriptorSupport.java	11 Feb 2005 22:49:52 -0000	1.30
--- DescriptorSupport.java	14 May 2005 08:43:29 -0000	1.31
***************
*** 103,107 ****
     }
  
!    public DescriptorSupport(String[] names, Object[] values)
     {
        setFields(names, values);
--- 103,107 ----
     }
  
!    public DescriptorSupport(String[] names, Object[] values) throws RuntimeOperationsException
     {
        setFields(names, values);
***************
*** 253,257 ****
     }
  
!    public String toXMLString() throws RuntimeOperationsException
     {
        StringBuffer buf = new StringBuffer(32);
--- 253,257 ----
     }
  
!    public String toXMLString()
     {
        StringBuffer buf = new StringBuffer(32);
***************
*** 284,288 ****
     }
  
!    public String toString() throws RuntimeOperationsException
     {
        StringBuffer buf = new StringBuffer();
--- 284,288 ----
     }
  
!    public String toString()
     {
        StringBuffer buf = new StringBuffer();



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click