define ApiRoleValidException