Class InvalidDatabaseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidDatabaseException
    extends java.io.IOException
    Signals that there was an issue reading from the MaxMind DB file due to unexpected data formatting. This generally suggests that the database is corrupt or otherwise not in a format supported by the reader.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidDatabaseException

        public InvalidDatabaseException​(java.lang.String message)
        Parameters:
        message - A message describing the reason why the exception was thrown.
      • InvalidDatabaseException

        public InvalidDatabaseException​(java.lang.String message,
                                        java.lang.Throwable cause)
        Parameters:
        message - A message describing the reason why the exception was thrown.
        cause - The cause of the exception.