rename throwException to throwExceptions