I deleted this because the API doc doesn't require it to throw exception.