|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
TransformException
public class TransformException
Common superclass for a number of transformation-related exceptions.
TransformException
are thrown by MathTransform
when a coordinate transformation can't be inverted
(NoninvertibleTransformException
), when the
derivative can't be computed or when a coordinate
can't be transformed.
It is also thrown when CoordinateOperationFactory
fails to find a path between two
coordinate reference systems.
Departure from OGC/ISO specification:
This exception is not part of the OGC specification.
Constructor Summary | |
---|---|
TransformException()
Constructs an exception with no detail message. |
|
TransformException(String message)
Constructs an exception with the specified detail message. |
|
TransformException(String message,
Throwable cause)
Constructs an exception with the specified detail message and cause. |
Method Summary | |
---|---|
MathTransform |
getLastCompletedTransform()
Returns the last transform that either transformed successfully all coordinates, or filled the untransformable coordinates with NaN values. |
void |
setLastCompletedTransform(MathTransform transform)
Sets the last transform that either transformed successfully all coordinates, or filled the untransformable coordinates with NaN values. |
Methods inherited from class Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransformException()
public TransformException(String message)
message
- The detail message. The detail message is saved
for later retrieval by the Throwable.getMessage()
method.public TransformException(String message, Throwable cause)
message
- The detail message. The detail message is saved
for later retrieval by the Throwable.getMessage()
method.cause
- The cause for this exception. The cause is saved
for later retrieval by the Throwable.getCause()
method.Method Detail |
---|
public MathTransform getLastCompletedTransform()
null
if unknown.
public void setLastCompletedTransform(MathTransform transform)
transform
- The last reliable transform.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |