Report the actual error when we can't look up a method.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@985 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-10 02:13:31 +00:00
parent 45f32c4622
commit a4283fd756
@@ -1,5 +1,5 @@
// //
// $Id: ClassUtil.java,v 1.4 2001/10/11 04:07:53 mdb Exp $ // $Id: ClassUtil.java,v 1.5 2002/02/10 02:13:31 mdb Exp $
package com.threerings.presents.util; package com.threerings.presents.util;
@@ -67,7 +67,8 @@ public class ClassUtil
// nothing to do here but fall through and return null // nothing to do here but fall through and return null
Log.info("No such method [name=" + name + Log.info("No such method [name=" + name +
", tclass=" + tclass.getName() + ", tclass=" + tclass.getName() +
", args=" + StringUtil.toString(args) + "]."); ", args=" + StringUtil.toString(args) +
", error=" + nsme + "].");
} catch (SecurityException se) { } catch (SecurityException se) {
Log.warning("Unable to look up method? " + Log.warning("Unable to look up method? " +