> Say you've caught a RuntimeException e:
> 
> if (e.getClass().getName().equals("gnu.classpath.NYIException")) {
>       // do the classpath dance
> }
> 
> can compile just fine against any not-gnu-classpath-using 
> VM. You could use reflection, too, but there is no need here.

e.getClass().getName() *is* reflection in my book :-)

David Holmes


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

Reply via email to