From: Max R. A. (JIRA) <no...@at...> - 2006-07-25 09:21:13
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1941?page=comments#action_23758 ] Max Rydahl Andersen commented on HHH-1941: ------------------------------------------ something like: throw InvalidMappingException with type and path. e.g. "resource", "org/some/package/Blah" where today its just a generic MappingException throw MappingNotFoundException (will in some cases be the cause for the above) with similar type and path when it can be identified that it is simply not there. > Be more specific about x not found and invalid mapping exceptions to allow tools to tell about it > ------------------------------------------------------------------------------------------------- > > Key: HHH-1941 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1941 > Project: Hibernate3 > Type: Improvement > Components: core > Versions: 3.2.0.cr3 > Reporter: Max Rydahl Andersen > Assignee: Max Rydahl Andersen > Fix For: 3.2.0.ga > > > We are getting more and more questions about the classical "invalid mapping" and/or "resource not found" exceptions when people are using the tools. > I suggest we improve the exceptions so the tooling can give more qualified hints on what is missing/wrong. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |