Revision 20414 trunk/libraries/libDataSourceBaseDrivers/src-test/org/gvsig/data/datastores/vectorial/file/DataStoreTest.java

View differences:

DataStoreTest.java
26 26
import org.gvsig.data.vectorial.IFeatureCollection;
27 27
import org.gvsig.data.vectorial.IFeatureStore;
28 28
import org.gvsig.data.vectorial.IFeatureType;
29
import org.gvsig.data.vectorial.IsNotFeatureSettingException;
29 30
import org.gvsig.data.vectorial.visitor.PrintlnFeaturesVisitor;
30 31
import org.gvsig.exceptions.BaseException;
31 32

  
......
326 327
		} catch (ReadException e) {
327 328
			// TODO Auto-generated catch block
328 329
			e.printStackTrace();
330
		} catch (IsNotFeatureSettingException e) {
331
			// TODO Auto-generated catch block
332
			e.printStackTrace();
329 333
		}
330 334
	}
331 335

  
......
639 643
		} catch (ReadException e) {
640 644
			// TODO Auto-generated catch block
641 645
			e.printStackTrace();
646
		} catch (IsNotFeatureSettingException e) {
647
			// TODO Auto-generated catch block
648
			e.printStackTrace();
642 649
		}
643 650
	}
644 651

  
......
788 795
		} catch (ReadException e) {
789 796
			// TODO Auto-generated catch block
790 797
			e.printStackTrace();
798
		} catch (IsNotFeatureSettingException e) {
799
			// TODO Auto-generated catch block
800
			e.printStackTrace();
791 801
		}
792 802
	}
793 803

  
......
936 946
		} catch (ReadException e) {
937 947
			// TODO Auto-generated catch block
938 948
			e.printStackTrace();
949
		} catch (IsNotFeatureSettingException e) {
950
			// TODO Auto-generated catch block
951
			e.printStackTrace();
939 952
		}
940 953
	}
941 954

  
......
981 994
		} catch (OpenException e2) {
982 995
			e2.printStackTrace();
983 996
			fail();
997
		} catch (IsNotFeatureSettingException e) {
998
			// TODO Auto-generated catch block
999
			e.printStackTrace();
984 1000
		}
985 1001

  
986 1002
		if (fs.isEditable() && testEdit) {
......
990 1006
				e.printStackTrace();
991 1007
				fail();
992 1008
			}
1009
			try {
1010
			IFeature feature1 = fs.createDefaultFeature(false);
993 1011

  
994
			IFeature feature1 = fs.createDefaultFeature(false);
995 1012
			IFeature feature2 = fs.createDefaultFeature(false);
996 1013
			IFeature feature3 = fs.createDefaultFeature(false);
997 1014

  
......
1001 1018
			fs.update(feature3,feature1);
1002 1019
			fs.delete(feature3);
1003 1020
			fs.delete(feature2);
1021
			} catch (IsNotFeatureSettingException e) {
1022
				// TODO Auto-generated catch block
1023
				e.printStackTrace();
1024
			}
1004 1025
		}
1005 1026

  
1006 1027
		//Mostrar por consola todos los registros.
......
1014 1035
		} catch (ReadException e2) {
1015 1036
			// TODO Auto-generated catch block
1016 1037
			e2.printStackTrace();
1038
		} catch (IsNotFeatureSettingException e) {
1039
			// TODO Auto-generated catch block
1040
			e.printStackTrace();
1017 1041
		}
1018 1042

  
1019 1043
		PrintlnFeaturesVisitor visitor=new PrintlnFeaturesVisitor(ft);
......
1035 1059
			} catch (ReadException e) {
1036 1060
				e.printStackTrace();
1037 1061
				fail("Exception: "+e);
1062
			} catch (IsNotFeatureSettingException e) {
1063
				// TODO Auto-generated catch block
1064
				e.printStackTrace();
1038 1065
			}
1039 1066
		}
1040 1067
		try {

Also available in: Unified diff