Author: ruschein
Date: 2010-08-10 16:32:24 -0700 (Tue, 10 Aug 2010)
New Revision: 21295
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
Log:
Improved error reporting.
Modified:
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
===================================================================
---
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
2010-08-10 23:29:47 UTC (rev 21294)
+++
core3/work-api/trunk/src/main/java/org/cytoscape/work/AbstractTunableInterceptor.java
2010-08-10 23:32:24 UTC (rev 21295)
@@ -152,7 +152,9 @@
//get a handler
with the getMethod and setMethod
final TH
handler = factory.getHandler(method, setter, obj,
tunableMap.get(rootName));
- if (handler !=
null)
+ if (handler ==
null)
+
System.err.println("*** Warning: Failed to create a handler for " + setter +
"!");
+ else
handlerList.put("getset" + rootName, handler);
}
}
@@ -174,7 +176,9 @@
final TH
handler = factory.getHandler(getter, method, obj,
tunableMap.get(rootName));
//add it to the
list
- if (handler !=
null)
+ if (handler ==
null)
+
System.err.println("*** Warning: Failed to create a handler for " + getter +
"!");
+ else
handlerList.put("getset" + rootName, handler);
}
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.