private static void verifyQuota(long nsQuota, long nsCount,
long dsQuota, long diskspace)
throws QuotaExceededException {
if ((nsQuota >= 0 && nsQuota < nsCount) ||
(dsQuota >= 0 && dsQuota < diskspace)) {
throw new QuotaExceededException(nsQuota, nsCount, dsQuota, diskspace);
}
}