Examples of ArcSdeException


Examples of org.geotools.arcsde.ArcSdeException

                    try {
                        newVersion.create(uniqueName, newVersion);
                    } catch (SeException e) {
                        int sdeError = e.getSeError().getSdeError();
                        if (sdeError != -177) {
                            throw new ArcSdeException(e);
                        }
                        // "VERSION ALREADY EXISTS", ignore and continue..
                        newVersion.getInfo();
                    }
                    return newVersion;
View Full Code Here

Examples of org.geotools.arcsde.ArcSdeException

                        }
                    }
                }
            }
        } catch (SeException e) {
            throw new ArcSdeException("getting property #" + i, e);
        }
    }
View Full Code Here

Examples of org.geotools.arcsde.ArcSdeException

                    try {
                        SeVersion[] versionList = connection.getVersionList(null);
                        for (SeVersion v : versionList) {
                            available.add(v.getName());
                        }
                        throw new ArcSdeException("Specified ArcSDE version does not exist: "
                                + versionName + ". Available versions are: " + available, cause);
                    } catch (SeException ignorable) {
                        // hum... ignore
                        throw new ArcSdeException("Specified ArcSDE version does not exist: "
                                + versionName, cause);
                    }
                } else {
                    throw cause;
                }
View Full Code Here

Examples of org.geotools.arcsde.ArcSdeException

                    if (aDef.getType() == SeColumnDefinition.TYPE_SHAPE) {
                        return aDef.getName();
                    }
                }
            } catch (SeException e) {
                throw new ArcSdeException("Exception describing table " + table.getName(), e);
            }
            return null;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.