[kmf-repository-api] unified exceptions

Change-Id: Iec93fd97be1f612ae134bade1f1523870002da68