Refs #19149; Updated classes for warning message