Revision 24346 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/impl/commands/implementation/FeatureUpdateCommand.java

View differences:

FeatureUpdateCommand.java
82 82
 */
83 83
package org.gvsig.fmap.data.feature.impl.commands.implementation;
84 84

  
85
import org.gvsig.fmap.data.exceptions.DataException;
85 86
import org.gvsig.fmap.data.feature.Command;
86 87
import org.gvsig.fmap.data.feature.Feature;
87 88
import org.gvsig.fmap.data.feature.impl.FeatureManager;
......
112 113
    /* (non-Javadoc)
113 114
    * @see org.gvsig.fmap.data.commands.Command#undo()
114 115
    */
115
    public void undo() {
116
    public void undo() throws DataException {
116 117
//        if (expansionManager.contains(oldFeature.getReference())) {
117 118
//            expansionManager.deleteLastFeature(feature.getReference());
118 119
//        } else {
......
126 127
    /* (non-Javadoc)
127 128
     * @see org.gvsig.fmap.data.commands.Command#redo()
128 129
     */
129
    public void redo() {
130
    public void redo() throws DataException {
130 131
        execute();
131 132
    }
132 133

  

Also available in: Unified diff