private static VndErrors.VndError vndError(final Map.Entry<String, String> entry) { return new VndErrors.VndError(entry.getKey(), entry.getValue(), homeLink()); } }
/** * Creates a new {@link VndErrors} instance containing a single {@link VndError} with the given logref, message and * optional {@link Link}s. * * @param logref must not be {@literal null} or empty. * @param message must not be {@literal null} or empty. * @param links */ public VndErrors(String logref, String message, Link... links) { this(new VndError(logref, message, links)); }
/** * Creates a new {@link VndErrors} instance containing a single {@link VndError} with the given logref, message and * optional {@link Link}s. * * @param logref must not be {@literal null} or empty. * @param message must not be {@literal null} or empty. * @param links */ public VndErrors(String logref, String message, Link... links) { this(new VndError(logref, message, links)); }