|
2.17.2: 2011-06-17 | ||||||||
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.lang.RuntimeException net.sf.basedb.core.BaseException net.sf.basedb.core.DatabaseException
public class DatabaseException
Exceptions of this type are thrown when there is an error from the database.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
DatabaseException()
Create a new DatabaseException object. |
|
DatabaseException(String message)
Create a new DatabaseException object with the
specified message . |
|
DatabaseException(String message,
Throwable cause)
Create a new DatabaseException object with the
specified message |
|
DatabaseException(Throwable cause)
Create a new DatabaseException object acting as a
wrapper for another exception that caused the error. |
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 |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public DatabaseException()
DatabaseException
object.
public DatabaseException(String message)
DatabaseException
object with the
specified message
.
message
- The message to throw with the exceptionpublic DatabaseException(String message, Throwable cause)
DatabaseException
object with the
specified message
message
- The message to throw with the exceptioncause
- The original exceptionpublic DatabaseException(Throwable cause)
DatabaseException
object acting as a
wrapper for another exception that caused the error.
cause
- The original exception
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |