com.syncbuilder.storage
Class DatabaseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.syncbuilder.storage.DatabaseException

public class DatabaseException
extends java.lang.Exception

DatabaseExceptions are thrown by all implementations of Database, whenever sth. goes wrong. Since the underlying cause might be of interest to the recipient of this exception, you can query it through the getOriginalException()-method.

See Also:
Serialized Form

Constructor Summary
DatabaseException()
           
DatabaseException(java.lang.String s)
           
DatabaseException(java.lang.String s, java.lang.Throwable t)
           
 
Method Summary
 java.lang.Throwable getOriginalException()
          Get the underlying cause, or null if no more specifics are known.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseException

public DatabaseException()

DatabaseException

public DatabaseException(java.lang.String s)

DatabaseException

public DatabaseException(java.lang.String s,
                         java.lang.Throwable t)
Method Detail

getOriginalException

public java.lang.Throwable getOriginalException()
Get the underlying cause, or null if no more specifics are known.


This material is Copyrighted (C) 1999 by Tilo Christ. All Rights Reserved.