Revision 28489 trunk/extensions/extJDBC/src/com/iver/cit/gvsig/fmap/drivers/jdbc/postgis/PostGISWriter.java
PostGISWriter.java | ||
---|---|---|
6 | 6 |
import java.sql.Statement; |
7 | 7 |
import java.sql.Types; |
8 | 8 |
|
9 |
import javax.swing.JOptionPane; |
|
10 |
|
|
11 |
import org.apache.log4j.Logger; |
|
12 |
|
|
9 | 13 |
import com.hardcode.gdbms.driver.exceptions.InitializeWriterException; |
10 | 14 |
import com.hardcode.gdbms.driver.exceptions.WriteDriverException; |
11 | 15 |
import com.hardcode.gdbms.engine.data.driver.DriverException; |
16 |
import com.iver.cit.gvsig.exceptions.visitors.ProcessVisitorException; |
|
12 | 17 |
import com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException; |
13 | 18 |
import com.iver.cit.gvsig.exceptions.visitors.StartWriterVisitorException; |
14 | 19 |
import com.iver.cit.gvsig.exceptions.visitors.StopWriterVisitorException; |
... | ... | |
172 | 177 |
} |
173 | 178 |
|
174 | 179 |
numRows++; |
180 |
}catch (ProcessVisitorException e) { |
|
181 |
Logger.getLogger(this.getClass()).error(getName(), e); |
|
182 |
// JOptionPane.showMessageDialog(null, "incorrect_geometry"); |
|
175 | 183 |
} catch (SQLException e) { |
176 |
throw new ProcessWriterVisitorException(getName(),e); |
|
184 |
throw new ProcessWriterVisitorException(this.getName(),e);
|
|
177 | 185 |
} |
178 | 186 |
|
179 | 187 |
} |
Also available in: Unified diff