Removed unused exception. Refs #7636.