if(handler != null && listingOp != null && listingOp.isQuery()) {
if(log.isDebugEnabled())
log.debug("Performing : '" + listingOp.getName() + "' for '" + listingId + "'...");
try {
handler.query(offset.intValue(), sorting, (listingOp == ListingOp.REFRESH));
status.addMsg(listingOp.getName() + " for '" + listingId + "' successful.", MsgLevel.INFO,
MsgAttr.STATUS.flag);
}
catch(final EmptyListException e) {
// we proceed to allow client to still show the listing
status.addMsg(e.getMessage(), MsgLevel.WARN, MsgAttr.STATUS.flag);