> 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.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to