/** * Reports a non-fatal warning that occurred while parsing a WKT. * * @param parent the parent element, or {@code null} if unknown. * @param element the element that we can not parse, or {@code null} if unknown. * @param message the message. Can be {@code null} only if {@code ex} is non-null. * @param ex the non-fatal exception that occurred while parsing the element, or {@code null}. */ final void warning(final Element parent, final Element element, final InternationalString message, final Exception ex) { warning(parent, (element != null) ? element.keyword : null, message, ex); }
/** * Reports a non-fatal warning that occurred while parsing a WKT. * * @param parent the parent element, or {@code null} if unknown. * @param element the element that we can not parse, or {@code null} if unknown. * @param message the message. Can be {@code null} only if {@code ex} is non-null. * @param ex the non-fatal exception that occurred while parsing the element, or {@code null}. */ final void warning(final Element parent, final Element element, final InternationalString message, final Exception ex) { warning(parent, (element != null) ? element.keyword : null, message, ex); }