Revision 814 org.gvsig.proj/branches/refactor2018/org.gvsig.proj/org.gvsig.proj.lib/org.gvsig.proj.lib.api/src/main/java/org/gvsig/proj/CoordinateReferenceSystemManager.java

View differences:

CoordinateReferenceSystemManager.java
23 23
 */
24 24
package org.gvsig.proj;
25 25

  
26
import java.text.ParseException;
27

  
26 28
import org.gvsig.proj.catalog.CRSCatalogManager;
27 29
import org.gvsig.proj.catalog.CRSDefinition;
28 30
import org.gvsig.proj.catalog.TransformationDefinition;
......
43 45
	 * @param wkt
44 46
	 *            a WKT definition or a CRS code using the 
45 47
	 *            AUTHORITY:CODE format.
48
	 * @throws CoordinateReferenceSystemException 
46 49
	 */
47 50
	CoordinateReferenceSystem getCoordinateReferenceSystem(
48 51
			String wkt)
49
					throws CoordinateReferenceSystemNotFoundException;
52
					throws CoordinateReferenceSystemException;
50 53

  
51 54
	/**
52 55
	 * Returns a Coordinate Reference System.
53 56
	 * 
54 57
	 * @param definition
55
	 * @throws CoordinateReferenceSystemNotFoundException
58
	 * @throws CoordinateReferenceSystemException 
56 59
	 */
57 60
	CoordinateReferenceSystem getCoordinateReferenceSystem(
58 61
		CRSDefinition definition)
59
			throws CoordinateReferenceSystemNotFoundException;
62
			throws CoordinateReferenceSystemException;
60 63

  
61 64
	/**
62 65
	 * Returns a Coordinate Transformation 
63 66
	 * @param wkt Well Known Text representation of the transformation
64 67
	 * @return
68
	 * @throws ParseException 
65 69
	 * @throws CoordinateReferenceSystemNotFoundException
66 70
	 */
67 71
	CoordinateTransformation getCoordinateTransformation(
68 72
			String wkt)
69
					throws CoordinateOperationNotFoundException;
73
					throws CoordinateOperationNotFoundException, ParseException;
70 74
	
71 75
	/**
72 76
	 * Returns a Coordinate Transformation
73 77
	 * 
74 78
	 * @param definition
79
	 * @throws ParseException 
80
	 * @throws CoordinateReferenceSystemException 
75 81
	 */
76 82
	CoordinateTransformation getCoordinateTransformation(
77 83
			TransformationDefinition definition)
78
					throws CoordinateOperationNotFoundException;
84
					throws CoordinateOperationNotFoundException, CoordinateReferenceSystemException, ParseException;
79 85
	
80 86
    
81 87
    /**

Also available in: Unified diff