Revision 10054 trunk/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/readers/objreaders/v15/DwgVertex2DReader15.java
DwgVertex2DReader15.java | ||
---|---|---|
6 | 6 |
|
7 | 7 |
import java.util.ArrayList; |
8 | 8 |
|
9 |
import com.iver.cit.jdwglib.dwg.CorruptedDwgEntityException; |
|
9 | 10 |
import com.iver.cit.jdwglib.dwg.DwgObject; |
10 | 11 |
import com.iver.cit.jdwglib.dwg.DwgUtil; |
11 | 12 |
import com.iver.cit.jdwglib.dwg.objects.DwgVertex2D; |
... | ... | |
21 | 22 |
/* (non-Javadoc) |
22 | 23 |
* @see com.iver.cit.jdwglib.dwg.readers.IDwgObjectReader#readSpecificObj(int[], int, com.iver.cit.jdwglib.dwg.DwgObject) |
23 | 24 |
*/ |
24 |
public void readSpecificObj(int[] data, int offset, DwgObject dwgObj) throws Exception { |
|
25 |
public void readSpecificObj(int[] data, int offset, DwgObject dwgObj) throws RuntimeException, CorruptedDwgEntityException {
|
|
25 | 26 |
if(! (dwgObj instanceof DwgVertex2D)) |
26 | 27 |
throw new RuntimeException("ArcReader 15 solo puede leer DwgVertex2D"); |
27 | 28 |
DwgVertex2D ver = (DwgVertex2D) dwgObj; |
Also available in: Unified diff