Revision 39082 branches/v2_0_0_prep/extensions/extEditing/src/org/gvsig/editing/gui/cad/DefaultCADTool.java

View differences:

DefaultCADTool.java
921 921
            LOG.error("Error creating arc with p1=" + p1, ", p2=" + p2
922 922
                + ", p3=" + p3, new CreateGeometryException(TYPES.ARC,
923 923
                getSubType(), e));
924
        } catch (IllegalArgumentException ex) {
925
            LOG.info("Warning: unable to create arc from points: "
926
                + p1.getX() + " " + p1.getY() + " :: "
927
                + p2.getX() + " " + p2.getY() + " :: "
928
                + p3.getX() + " " + p3.getY());
929
            arc = null;
924 930
        }
925 931
        return arc;
926 932
    }

Also available in: Unified diff