|
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
public class DatabaseException
A parent exception to a variety of database exceptions. The client should catch this exception only when the exception handling code would be the same for all subclasses of this class.
This exception is checked.
DatabaseCorruptedException
,
TransactionConflictException
Constructor Summary | |
---|---|
DatabaseException()
Creates an instance of DatabaseException with
a null detail message. |
|
DatabaseException(java.lang.String msg)
Creates an instance of DatabaseException with
the specified detail message. |
|
DatabaseException(java.lang.String msg,
java.lang.Throwable cause)
Creates an instance of DatabaseException with
the specified detail message and cause. |
|
DatabaseException(java.lang.Throwable cause)
Creates an instance of DatabaseException with
a null detail message and the specified cause. |
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 DatabaseException()
DatabaseException
with
a null
detail message.
public DatabaseException(java.lang.String msg)
DatabaseException
with
the specified detail message.
msg
- the detail messagepublic DatabaseException(java.lang.Throwable cause)
DatabaseException
with
a null
detail message and the specified cause.
cause
- the cause of this exceptionpublic DatabaseException(java.lang.String msg, java.lang.Throwable cause)
DatabaseException
with
the specified detail message and cause.
msg
- the detail messagecause
- the cause of this exception
|
Side of Software Persistence Library 2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |