|
Side of Software Persistence Library 2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException sos.db.DatabaseException sos.db.DatabaseCorruptedException
public class DatabaseCorruptedException
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.
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 |
---|
public DatabaseCorruptedException()
DatabaseCorruptedException
with
a null
detail message.
public DatabaseCorruptedException(java.lang.String msg)
DatabaseCorruptedException
with the specified detail message.
msg
- the detail message.
|
Side of Software Persistence Library 2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |