Revision 6071 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/EditableAdapter.java

View differences:

EditableAdapter.java
274 274
	 */
275 275
	public int addRow(IRow row, String descrip, int sourceType) throws DriverIOException,
276 276
			IOException {
277
		
277

  
278 278
		try {
279 279
			validateRow(row);
280 280
		} catch (EditionException e) {
......
416 416
	 * @throws DriverIOException
417 417
	 *             DOCUMENT ME!
418 418
	 */
419
	public void endComplexRow() throws IOException, DriverIOException {
419
	public void endComplexRow(String description) throws IOException, DriverIOException {
420
		commands.setDescription(description);
420 421
		cr.pushCommand(commands);
421 422
		complex = false;
422 423
	}
......
1038 1039
				EditionException ex = new EditionException("NOT follow the rule: " + rule.getDescription());
1039 1040
				// TODO: Lanzar una RuleException con datos como el registro
1040 1041
				// que no cumple, la regla que no lo ha cumplido, etc.
1041
				throw ex; 
1042
				throw ex;
1042 1043
			}
1043 1044
		}
1044 1045
	}

Also available in: Unified diff