|
From: | Julian Scheid |
Subject: | RE: Some object serialization problems for discussion(1)-ObjectOutputStream |
Date: | Wed, 1 Aug 2001 04:01:43 +0100 |
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |