Class DataStoreReferencingException

    • Constructor Detail

      • DataStoreReferencingException

        public DataStoreReferencingException​(String message)
        Creates an exception with the specified details message.
        Parameters:
        message - the detail message.
      • DataStoreReferencingException

        public DataStoreReferencingException​(Throwable cause)
        Creates an exception with the specified cause and no details message. The given cause should (but is not required to) be a Factory­Exception or Transform­Exception.
        Parameters:
        cause - the cause for this exception.
      • DataStoreReferencingException

        public DataStoreReferencingException​(String message,
                                             Throwable cause)
        Creates an exception with the specified details message and cause. The given cause should (but is not required to) be a Factory­Exception or Transform­Exception.
        Parameters:
        message - the detail message.
        cause - the cause for this exception.
      • DataStoreReferencingException

        public DataStoreReferencingException​(Locale locale,
                                             String format,
                                             String filename,
                                             Object store)
        Creates a localized exception with a message saying that the given store can not be read. Location in the file where the error occurred while be fetched from the given store argument if possible. If the given store is not recognized, then it will be ignored.

        This constructor should be followed by a call to Data­Store­Exception​.init­Cause(Throwable) with a Factory­Exception or Transform­Exception cause.

        Parameters:
        locale - the locale of the message to be returned by Data­Store­Exception​.get­Localized­Message(), or null.
        format - short name or abbreviation of the data format (e.g. "CSV", "GML", "WKT", etc).
        filename - name of the file or data store where the error occurred.
        store - the input or output object from which to get the current position, or null if none. This can be a Line­Number­Reader or XMLStream­Reader for example.