// ignore this URL
}
// handle other values
} else if (doc.isNotFound()) {
// the document was not found
exceptionHandler.handleException(this, u, new HttpException("Document not found"));
} else if (doc.isUnauthorized()) {
// the document was not found
exceptionHandler.handleException(
this,
u,
new HttpException("No authorization for the document."));
} else {
// an other error occured.
exceptionHandler.handleException(this, u, new HttpException("Unknown document error (Http return code "+doc.getHttpCode()+")."));
}
}
}