Class UnconvertibleInstanceException

All Implemented Interfaces:
Serializable

public class UnconvertibleInstanceException extends Proj4jException
Thrown by Wrapper.proj4j(…) when a GeoAPI object cannot be unwrapped or copied to a PROJ4J implementation. This exception is never thrown when the given GeoAPI object has been created by a Wrapper.geoapi(…) method. This exception may be thrown for GeoAPI objects created by other libraries, depending on the characteristics of the object. For example, it may depend on whether the coordinate system uses unsupported axis directions.
Author:
Martin Desruisseaux (Geomatys)
See Also:
  • Constructor Details

    • UnconvertibleInstanceException

      public UnconvertibleInstanceException()
      Creates a new exception with no message.
    • UnconvertibleInstanceException

      public UnconvertibleInstanceException(String message)
      Creates a new exception with the given message.
      Parameters:
      message - the exception message, or null