Exception Handling for Generator and XMLSchemaGenerator