java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.maxmind.db.InvalidDatabaseException
- All Implemented Interfaces:
Serializable
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:
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longPinned for serialized-form compatibility.Constructor Summary
ConstructorsConstructorDescriptionInvalidDatabaseException(String message) Report that the database could not be read.InvalidDatabaseException(String message, Throwable cause) Report that the database could not be read, wrapping the underlying failure.Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Field Details
serialVersionUID
private static final long serialVersionUIDPinned for serialized-form compatibility.- See Also:
Constructor Details
InvalidDatabaseException
Report that the database could not be read.- Parameters:
message- A message describing the reason why the exception was thrown.
InvalidDatabaseException