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.
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
    • UnconvertibleInstanceException

      UnconvertibleInstanceException(String name, String type)
      Creates a new exception with a message built for the given object name and type.
      Parameters:
      name - the name of the object that cannot be unwrapped
      type - the type of the object that cannot be unwrapped