added create_throws_exception option