setting the example number when an exampleformatexception is encountered