Revision 31020 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/exception/CreateGeometryException.java

View differences:

CreateGeometryException.java
27 27
 
28 28
package org.gvsig.fmap.geom.exception;
29 29

  
30
import org.gvsig.fmap.geom.Geometry.SUBTYPES;
31
import org.gvsig.fmap.geom.Geometry.TYPES;
32
import org.gvsig.tools.exception.BaseException;
30
import org.gvsig.fmap.geom.Geometry;
31
import org.gvsig.fmap.geom.GeometryException;
33 32

  
34 33
/**
34
 * Exception thrown when there is an error creating a new {@link Geometry}.
35
 * 
35 36
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
36 37
 */
37
public class CreateGeometryException extends BaseException{
38
public class CreateGeometryException extends GeometryException {
38 39
	private static final long serialVersionUID = -9092927920296656571L;
39 40
	private final static String MESSAGE_FORMAT = "Exception creating the geometry with " +
40 41
			"type '%(type)' and subType '%(subType)'.";
......
45 46
		setValue("type", new Integer(type));
46 47
		setValue("subType", new Integer(subType));
47 48
	}
48
		
49 49
	
50
}
51

  
50
}

Also available in: Unified diff