>     try
>     {
>       ...
>     }
>     catch (IOException e)
>     {
> +      if(e instanceof NotSerializableException ){   <- Comment 2
> +       throw e;
> +      }
>        ...
>     }
> 

The following should be more elegant:

        try {
           ...
        }
        catch (NotSerializableException e) {
           throw e;
        }
        catch (IOException e) {
           ...
        }


Julian

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to