change resolver exception name
add hasMapping method to content type resolver