Side of Software
Persistence Library 2.0

sos.db
Class DatabaseCorruptedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by sos.db.DatabaseException
                  extended by sos.db.DatabaseCorruptedException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseCorruptedException
extends DatabaseException

A checked exception indicating that a database is corrupted and cannot be repaired. This exception is checked because it does not necessarily imply a programming error. The database may be altered by an outside source and hence should be dealt with appropriately in the client application. Generally, once this exception has been thrown, the database is not recoverable.

Since:
1.0

Constructor Summary
DatabaseCorruptedException()
          Creates an instance of DatabaseCorruptedException with a null detail message.
DatabaseCorruptedException(java.lang.String msg)
          Creates an instance of DatabaseCorruptedException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

DatabaseCorruptedException

public DatabaseCorruptedException()
Creates an instance of DatabaseCorruptedException with a null detail message.


DatabaseCorruptedException

public DatabaseCorruptedException(java.lang.String msg)
Creates an instance of DatabaseCorruptedException with the specified detail message.

Parameters:
msg - the detail message.

Side of Software
Persistence Library 2.0

Copyright 2004-08 Side of Software (SOS). All rights reserved.