1 package io.fd.honeycomb.translate.v3po.interfacesstate.ip.dump.check;
3 import io.fd.honeycomb.translate.util.read.cache.EntityDumpNonEmptyCheck;
4 import io.fd.honeycomb.translate.util.read.cache.exceptions.check.DumpCheckFailedException;
5 import io.fd.honeycomb.translate.util.read.cache.exceptions.check.i.DumpEmptyException;
6 import org.openvpp.jvpp.core.dto.IpAddressDetailsReplyDump;
8 public class AddressDumpCheck implements EntityDumpNonEmptyCheck<IpAddressDetailsReplyDump> {
11 public void assertNotEmpty(final IpAddressDetailsReplyDump data) throws DumpCheckFailedException {
12 if (data == null || data.ipAddressDetails == null) {
13 throw new DumpEmptyException("Invalid data dumped");