Extended Exception handling by providing the related object for the
exception response if available.