Package com.maxmind.geoip
Class InvalidDatabaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.maxmind.geoip.InvalidDatabaseException
-
- All Implemented Interfaces:
Serializable
public final class InvalidDatabaseException extends RuntimeException
Signals that there was an issue reading from the database 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
-
-
Constructor Summary
Constructors Constructor Description InvalidDatabaseException(String message)
InvalidDatabaseException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidDatabaseException
public InvalidDatabaseException(String message)
- Parameters:
message
- A message describing the reason why the exception was thrown.
-
-