throw exception is a stranded library is used with v1