mx4j/src/core/javax/management/openmbean CompositeData.java,1.5,1.6 TabularData.java,1.6,1.7

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/openmbean
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11684/src/core/javax/management/openmbean

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

Index: TabularData.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/openmbean/TabularData.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** TabularData.java	13 Nov 2004 16:38:22 -0000	1.6
--- TabularData.java	14 May 2005 08:43:29 -0000	1.7
***************
*** 35,39 ****
     public void clear();
  
!    public boolean containsKey(Object[] key) throws InvalidOpenTypeException;
  
     public boolean containsValue(CompositeData value);
--- 35,39 ----
     public void clear();
  
!    public boolean containsKey(Object[] key);
  
     public boolean containsValue(CompositeData value);
***************
*** 41,49 ****
     public boolean equals(Object object);
  
!    public CompositeData get(Object[] key) throws InvalidKeyException;
  
-    /**
-     * @return the tabularType that desribes this particular instance
-     */
     public TabularType getTabularType();
  
--- 41,46 ----
     public boolean equals(Object object);
  
!    public CompositeData get(Object[] key);
  
     public TabularType getTabularType();
  
***************
*** 54,62 ****
     public Set keySet();
  
!    public void put(CompositeData value) throws InvalidOpenTypeException, KeyAlreadyExistsException;
  
!    public void putAll(CompositeData[] values) throws InvalidOpenTypeException, KeyAlreadyExistsException;
  
!    public CompositeData remove(Object[] key) throws InvalidKeyException;
  
     public int size();
--- 51,59 ----
     public Set keySet();
  
!    public void put(CompositeData value);
  
!    public void putAll(CompositeData[] values);
  
!    public CompositeData remove(Object[] key);
  
     public int size();

Index: CompositeData.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/openmbean/CompositeData.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CompositeData.java	13 Nov 2004 16:38:22 -0000	1.5
--- CompositeData.java	14 May 2005 08:43:29 -0000	1.6
***************
*** 22,28 ****
     public boolean equals(Object object);
  
!    public Object get(String key) throws InvalidKeyException;
  
!    public Object[] getAll(String[] keys) throws javax.management.openmbean.InvalidKeyException;
  
     public CompositeType getCompositeType();
--- 22,28 ----
     public boolean equals(Object object);
  
!    public Object get(String key);
  
!    public Object[] getAll(String[] keys);
  
     public CompositeType getCompositeType();



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