On Saturday 10 February 2007 19:29:49 Bob Hanson wrote:
> Atom cloneAtom() throws Exception {
> try {
> return (Atom)super.clone();
> } catch (Exception cnse) {
> throw new Exception("cloneAtom error: " + cnse);
> }
> }
Make that:
throw new Exception("cloneAtom error: " + cnse.getMessage(), cnse);
this will give a human readable message (first parameter), and will keep
the full stacktrace via the second parameter.
Egon
--
CUBIC
blog: http://chem-bla-ics.blogspot.com/
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers