mx4j/src/core/javax/management/loading MLet.java,1.27,1.28

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

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

Index: MLet.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/loading/MLet.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** MLet.java	8 Feb 2005 03:23:58 -0000	1.27
--- MLet.java	14 May 2005 08:43:29 -0000	1.28
***************
*** 586,590 ****
      * and if not implemented throws an UnsupportedOperationException.
      */
!    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
     {
        throw new UnsupportedOperationException("MLet.readExternal");
--- 586,590 ----
      * and if not implemented throws an UnsupportedOperationException.
      */
!    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException, UnsupportedOperationException
     {
        throw new UnsupportedOperationException("MLet.readExternal");
***************
*** 595,599 ****
      * and if not implemented throws an UnsupportedOperationException.
      */
!    public void writeExternal(ObjectOutput out) throws IOException
     {
        throw new UnsupportedOperationException("MLet.writeExternal");
--- 595,599 ----
      * and if not implemented throws an UnsupportedOperationException.
      */
!    public void writeExternal(ObjectOutput out) throws IOException, UnsupportedOperationException
     {
        throw new UnsupportedOperationException("MLet.writeExternal");



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