public org.opengis.referencing.crs.VerticalCRS createVerticalCRS(String str) throws FactoryException { throw new FactoryException("Not implemented"); } }
/** * Creates a math transform object from a XML string. The default implementation always throws * an exception, since this method is not yet implemented. * * @param xml Math transform encoded in XML format. * @throws FactoryException if the object creation failed. */ public MathTransform createFromXML(String xml) throws FactoryException { throw new FactoryException("Not yet implemented."); }
/** * Creates a warp transform from the specified group of parameter values. * * @param values The group of parameter values. * @return The created math transform. * @throws ParameterNotFoundException if a required parameter was not found. */ protected MathTransform createMathTransform(final ParameterValueGroup values) throws ParameterNotFoundException, FactoryException { throw new FactoryException("Not yet implemented"); } }
/** * Creates a coordinate reference system object from a XML string. * * @param xml Coordinate reference system encoded in XML format. * @throws FactoryException if the object creation failed. * @todo Not yet implemented. */ public CoordinateReferenceSystem createFromXML(String xml) throws FactoryException { throw new FactoryException("Not yet implemented"); }
public org.opengis.referencing.crs.EngineeringCRS createEngineeringCRS(String str) throws FactoryException { throw new FactoryException("Not implemented"); }
public org.opengis.referencing.crs.TemporalCRS createTemporalCRS(String str) throws FactoryException { throw new FactoryException("Not implemented"); }
/** */ protected EPSGCRSAuthorityFactory(final CRSFactory factory, URL definition) throws FactoryException { this(factory); try { epsg.load(definition.openStream()); } catch (IOException io) { // could not load properties file throw new FactoryException("Could not load properties file: " + definition); } }
/** Constructs an exception for a database failure. */ private static FactoryException databaseFailure( final Class type, final String code, final SQLException cause) { return new FactoryException( Errors.format(ErrorKeys.DATABASE_FAILURE_$2, type, code), cause); }
/** Constructs an exception for a database failure. */ private static FactoryException databaseFailure( final Class type, final String code, final SQLException cause) { return new FactoryException( Errors.format(ErrorKeys.DATABASE_FAILURE_$2, type, code), cause); }
/** * Returns the backing store authority factory. * * @return The backing store to uses in {@code createXXX(...)} methods. * @throws FactoryException if the creation of backing store failed. */ AbstractAuthorityFactory getBackingStore() throws FactoryException { if (backingStore == null) { throw new FactoryException(Errors.format(ErrorKeys.DISPOSED_FACTORY)); } return backingStore; }
public VerticalCRS createVerticalCRS(String code) throws NoSuchAuthorityCodeException, FactoryException { throw new FactoryException(EXCEPTION_MESSAGE); } }
/** * Returns the backing store authority factory. * * @return The backing store to uses in {@code createXXX(...)} methods. * @throws FactoryException if the creation of backing store failed. */ AbstractAuthorityFactory getBackingStore() throws FactoryException { if (backingStore == null) { throw new FactoryException(Errors.format(ErrorKeys.DISPOSED_FACTORY)); } return backingStore; }
public DerivedCRS createDerivedCRS(String code) throws NoSuchAuthorityCodeException, FactoryException { throw new FactoryException(EXCEPTION_MESSAGE); }
public GeocentricCRS createGeocentricCRS(String code) throws NoSuchAuthorityCodeException, FactoryException { throw new FactoryException(EXCEPTION_MESSAGE); }
public TemporalCRS createTemporalCRS(String code) throws NoSuchAuthorityCodeException, FactoryException { throw new FactoryException(EXCEPTION_MESSAGE); }
/** Constructs an exception for recursive calls. */ private static FactoryException recursiveCall(final Class type, final String code) { return new FactoryException(Errors.format(ErrorKeys.RECURSIVE_CALL_$2, type, code)); }
public Set<String> getAuthorityCodes(Class<? extends IdentifiedObject> type) throws FactoryException { throw new FactoryException(EXCEPTION_MESSAGE); }
public CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws NoSuchAuthorityCodeException, FactoryException { throw new FactoryException(EXCEPTION_MESSAGE); }
protected URL locateGrid(URI uri) throws FactoryException { String grid = uri.toString(); for (GridShiftLocator locator : ReferencingFactoryFinder.getGridShiftLocators(null)) { URL result = locator.locateGrid(grid); if (result != null) { return result; } } throw new FactoryException("Could not locate grid file " + grid); }
public static javax.sql.DataSource createDataSource(Hints hints) throws FactoryException { try { return createDataSource(getDirectory()); } catch (SQLException e) { throw new FactoryException(e); } }