/** * Asserts that the given item is an {@link SVGPoint}. */ protected void checkItemType(Object newItem) throws SVGException { if (!(newItem instanceof SVGPoint)) { createSVGException(SVGException.SVG_WRONG_TYPE_ERR, "expected.point", null); } }
/** * Asserts that the given item is an {@link SVGPoint}. */ protected void checkItemType(Object newItem) throws SVGException { if (!(newItem instanceof SVGPoint)) { createSVGException(SVGException.SVG_WRONG_TYPE_ERR, "expected.point", null); } }