Class UnparsableObjectException

  • All Implemented Interfaces:
    Serializable, Localized­Exception

    public class UnparsableObjectException
    extends ParseException
    implements LocalizedException
    Thrown when a Well Known Text (WKT) can not be parsed.
    This exception may contain the error message in two languages:
    • get­Message() returns the message in the default locale. In a client-server architecture, this is typically the locale on the server side.
    • get­Localized­Message() returns the message in the locale given in argument to the WKTFormat constructor. In a client-server architecture, it is presumably the locale on the client side.
    See Also:
    Serialized Form

    Defined in the sis-referencing module

    • Constructor Detail

      • UnparsableObjectException

        public UnparsableObjectException​(String message,
                                         int errorOffset)
        Creates an exception with the specified details message.
        message - the detail message in the default locale.
        error­Offset - the position where the error is found while parsing.