added throwException attribute