mx4j/src/core/javax/management/relation MBeanServerNotificationFilter.java,1.7,1.8 RelationType.java,1.5,1.6 RoleUnresolved.java,1.10,1.11

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

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

Index: MBeanServerNotificationFilter.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/relation/MBeanServerNotificationFilter.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** MBeanServerNotificationFilter.java	13 Nov 2004 16:38:49 -0000	1.7
--- MBeanServerNotificationFilter.java	14 May 2005 08:43:29 -0000	1.8
***************
*** 158,162 ****
     }
  
!    public boolean isNotificationEnabled(Notification notification)
     {
        boolean goOn = super.isNotificationEnabled(notification);
--- 158,162 ----
     }
  
!    public boolean isNotificationEnabled(Notification notification) throws IllegalArgumentException
     {
        boolean goOn = super.isNotificationEnabled(notification);

Index: RelationType.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/relation/RelationType.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** RelationType.java	13 Nov 2004 16:38:49 -0000	1.5
--- RelationType.java	14 May 2005 08:43:29 -0000	1.6
***************
*** 19,23 ****
     public String getRelationTypeName();
  
!    public RoleInfo getRoleInfo(String roleInfoName) throws RoleInfoNotFoundException;
  
     public List getRoleInfos();
--- 19,23 ----
     public String getRelationTypeName();
  
!    public RoleInfo getRoleInfo(String roleInfoName) throws IllegalArgumentException, RoleInfoNotFoundException;
  
     public List getRoleInfos();

Index: RoleUnresolved.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/relation/RoleUnresolved.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** RoleUnresolved.java	13 Feb 2005 21:02:56 -0000	1.10
--- RoleUnresolved.java	14 May 2005 08:43:29 -0000	1.11
***************
*** 48,52 ****
     }
  
!    public void setRoleName(String name)
     {
        if (name == null) throw new IllegalArgumentException("Role Name cannot be null");
--- 48,52 ----
     }
  
!    public void setRoleName(String name) throws IllegalArgumentException
     {
        if (name == null) throw new IllegalArgumentException("Role Name cannot be null");
***************
*** 71,75 ****
     }
  
!    public void setProblemType(int type)
     {
        if (!(RoleStatus.isRoleStatus(type)))
--- 71,75 ----
     }
  
!    public void setProblemType(int type) throws IllegalArgumentException
     {
        if (!(RoleStatus.isRoleStatus(type)))



-------------------------------------------------------
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