Use correct format for exception syntax