Throw a specific exception when a mapping is not found