Exception handling in the Vectorizer module