public void updateCurrentAttributes(@Nonnull InstanceIdentifier<Neighbor> id, @Nonnull Neighbor dataBefore,
@Nonnull Neighbor dataAfter,
@Nonnull WriteContext writeContext) throws WriteFailedException {
- new UnsupportedOperationException("Operation not supported");
+ throw new UnsupportedOperationException("Operation not supported");
}
@Override
Objects.requireNonNull(vppPhysAddress, "Empty physical address bytes");
final int endIndex = startIndex + PHYSICAL_ADDRESS_LENGTH;
checkArgument(endIndex <= vppPhysAddress.length,
- "Invalid physical address size (%s) for given startIndex (%d), expected >= %d", vppPhysAddress.length,
+ "Invalid physical address size (%s) for given startIndex (%s), expected >= %s", vppPhysAddress.length,
startIndex, endIndex);
StringBuilder physAddr = new StringBuilder();