Refs #8449 Switched throw with warning