|
From: Anton v. S. <an...@ap...> - 2002-10-12 19:26:42
|
> In SessionFactoryImpl, the catch clause which throws a > MappingException with the message "Could not instantiate > persister class:..." (line 180 in v1.1.4b) discards the > more detailed exception it receives (e). ... > I found that the exception that was discarded read "Could not > find a setter for..." My description above is inaccurate: the actual discarded exception is a java.lang.reflect.InvocationTargetException, and its "target" variable contains the MappingException with the message "Could not find a setter for...". So simply adding "+ e.toString()" or similar doesn't help the situation. |