Revision 10858

View differences:

trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/readers/objreaders/v1314/DwgEllipseReader1314.java
24 24
	 * @see com.iver.cit.jdwglib.dwg.readers.IDwgObjectReader#readSpecificObj(int[], int, com.iver.cit.jdwglib.dwg.DwgObject)
25 25
	 */
26 26
	public void readSpecificObj(int[] data, int offset, DwgObject dwgObj) throws RuntimeException, CorruptedDwgEntityException {
27
		if(! (dwgObj instanceof DwgArc))
27
		if(! (dwgObj instanceof DwgEllipse))
28 28
	    	throw new RuntimeException("ArcReader 14 solo puede leer DwgEllipse");
29 29
		DwgEllipse ell = (DwgEllipse) dwgObj;
30 30
		int bitPos = offset;

Also available in: Unified diff