org.helidb.lang
Class DatabaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.helidb.lang.DatabaseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HashException, KeyExistsException, KeyNotFoundException, NotEnoughDataException, NoTransactionException, ReadOnlyTransactionException, SerializationException, UnableToCommitException

public class DatabaseException
extends RuntimeException

Base class for exceptions thrown by the database methods.

This class inherits RuntimeException, so all exceptions are unchecked.

Since:
1.0
Author:
Karl Gustafsson
See Also:
Serialized Form
In_jar:
helidb-core

Constructor Summary
DatabaseException(String msg)
           
DatabaseException(String msg, Throwable t)
           
DatabaseException(Throwable t)
           
 
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

DatabaseException

public DatabaseException(String msg)

DatabaseException

public DatabaseException(Throwable t)

DatabaseException

public DatabaseException(String msg,
                         Throwable t)