Object
Throwable
Exception
RuntimeException
IllegalArgumentException
UnsupportedImplementationException
- All Implemented Interfaces:
Serializable
Thrown when a method can not execute because a given argument value is not a PROJ implementation.
This exception may happen when invoking a method with arguments declared as GeoAPI interfaces, but that method can work only with values provided by this PROJ-JNI implementation. In particular, it may happen in the following contexts:
- Methods expecting
CoordinateReferenceSystem
argument. - Any method from
CRSFactory
or other component factory.
This exception can happen only if PROJ-JNI is used together with another implementation of GeoAPI interfaces. Note that mixing implementations will not necessarily cause this exception; it happens only if PROJ-JNI can not map the "foreign" implementation to the PROJ implementation.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct an exception with no detail message.UnsupportedImplementationException
(String message) Constructs an exception with the specified detail message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedImplementationException
public UnsupportedImplementationException()Construct an exception with no detail message. -
UnsupportedImplementationException
Constructs an exception with the specified detail message.- Parameters:
message
- the detail message, saved for later retrieval by theThrowable.getMessage()
method.
-