classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NYIException


From: David Holmes
Subject: RE: NYIException
Date: Mon, 29 Sep 2003 11:56:17 +1000

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]