Class CorruptDatabaseException

  • All Implemented Interfaces:
    java.io.Serializable

    @ThreadSafe
    public class CorruptDatabaseException
    extends DatabaseException
    An exception used to indicate the db4o database is corrupt. This could be due to invalid data or a complete failure of the db.
    Author:
    Jeremy Long
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CorruptDatabaseException​(java.lang.String msg)
      Creates an CorruptDatabaseException.
      CorruptDatabaseException​(java.lang.String msg, java.lang.Exception ex)
      Creates an CorruptDatabaseException.
    • 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

      • CorruptDatabaseException

        public CorruptDatabaseException​(java.lang.String msg)
        Creates an CorruptDatabaseException.
        Parameters:
        msg - the exception message
      • CorruptDatabaseException

        public CorruptDatabaseException​(java.lang.String msg,
                                        java.lang.Exception ex)
        Creates an CorruptDatabaseException.
        Parameters:
        msg - the exception message
        ex - the cause of the exception