Changed the class not found diagnostic message to be the message of the thrown CNFE instead of logging it.