validParamNames)) {
sb.append(new BadArgumentException().getMessage());
} else {
try {
if (oldResumptionToken == null) {
listSetsMap = abstractCatalog.listSets();
} else {
listSetsMap = abstractCatalog.listSets(oldResumptionToken);
}
sb.append("<ListSets>");
Iterator sets = (Iterator)listSetsMap.get("sets");