Revision 40401
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureIndex.java | ||
---|---|---|
419 | 419 |
throw new IllegalArgumentException("Could not add Feature: " + feat |
420 | 420 |
+ " to index " + this |
421 | 421 |
+ ". It does not contain a column with name " |
422 |
+ getAttributeName(), e);
|
|
422 |
+ getAttributeName()); |
|
423 | 423 |
} catch (ClassCastException e) { |
424 | 424 |
throw new IllegalArgumentException("Could not add Feature: " + feat |
425 | 425 |
+ " to index " + this + ". Attribute " + getAttributeName() |
426 |
+ " data type is not valid.", e);
|
|
426 |
+ " data type is not valid."); |
|
427 | 427 |
} |
428 | 428 |
} |
429 | 429 |
|
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeature.java | ||
---|---|---|
124 | 124 |
+ this.getDataTypesManager().getTypeName( |
125 | 125 |
attribute.getType()) + " from '" |
126 | 126 |
+ value.getClass().getName() + "' with value '" |
127 |
+ value.toString() + "'.", e);
|
|
127 |
+ value.toString() + "'."); |
|
128 | 128 |
} |
129 | 129 |
} |
130 | 130 |
|
... | ... | |
146 | 146 |
return null; |
147 | 147 |
} |
148 | 148 |
throw new IllegalArgumentException( |
149 |
"Can't convert to "+theClass.getSimpleName()+" from '"+value.getClass().getName()+"' with value '"+value.toString()+"'.", |
|
150 |
e); |
|
149 |
"Can't convert to "+theClass.getName()+ |
|
150 |
" from '"+value.getClass().getName()+ |
|
151 |
"' with value '"+value.toString()+"'."); |
|
151 | 152 |
} |
152 | 153 |
} |
153 | 154 |
|
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/AbstractFeatureStoreTransform.java | ||
---|---|---|
47 | 47 |
|
48 | 48 |
public AbstractFeatureStoreTransform(String name, String description) { |
49 | 49 |
if( name == null || "".equals(name) ) { |
50 |
this.name = this.getClass().getSimpleName();
|
|
50 |
this.name = this.getClass().getName(); |
|
51 | 51 |
} else { |
52 | 52 |
this.name = name; |
53 | 53 |
} |
Also available in: Unified diff