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.
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.
committed to HEAD for now.
in both 3.2 and HEAD now