svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.geometry / org.gvsig.fmap.geometry.jts / src / main / java / org / gvsig / fmap / geom / jts / transform / NonInvertibleTransformException.java @ 42775
History | View | Annotate | Download (728 Bytes)
1 |
|
---|---|
2 |
package org.gvsig.fmap.geom.jts.transform; |
3 |
|
4 |
import org.gvsig.fmap.geom.transform.Transform; |
5 |
|
6 |
|
7 |
/**
|
8 |
* Exception thrown when trying to compute an inverse transform of a transform
|
9 |
* that does not allows this feature.
|
10 |
* @author dlegland
|
11 |
*/
|
12 |
public class NonInvertibleTransformException extends RuntimeException { |
13 |
|
14 |
/**
|
15 |
*
|
16 |
*/
|
17 |
private static final long serialVersionUID = 1L; |
18 |
|
19 |
protected Transform transform;
|
20 |
|
21 |
public NonInvertibleTransformException() {
|
22 |
this.transform = null; |
23 |
} |
24 |
|
25 |
public NonInvertibleTransformException(Transform transform) {
|
26 |
this.transform = transform;
|
27 |
} |
28 |
|
29 |
public Transform getTransform() {
|
30 |
return transform;
|
31 |
} |
32 |
} |