Hi Stuart,

On Sun, 2005-12-11 at 21:42 -0500, Stuart Ballard wrote:
> Throw.uncheckedThrow(new InvalidClassException("..."));
> 
> A perfectly portable illegal-exception-thrower :)

It is a nice hack. But I agree with Guilhem that "illegally" throwing
checked exceptions from methods which are not explicitly documented to
do things like that should be avoided.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to