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.
    Localization
    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.
    Since:
    0.8
    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.
        Parameters:
        message - the detail message in the default locale.
        error­Offset - the position where the error is found while parsing.