Enhydra 3.1 API

com.lutris.appserver.server.sql
Class DatabaseContentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.lutris.util.ChainedException
                    |
                    +--com.lutris.appserver.server.sql.DatabaseContentException

public class DatabaseContentException
extends ChainedException

Exception indicating that data in a database is not what is expected.

Since:
LBS1.7
Version:
$Revision: 1.13.12.1 $
See Also:
Serialized Form

Constructor Summary
DatabaseContentException(DBConnection connection, java.lang.String detail)
          Construct given a DBConnection.
DatabaseContentException(java.lang.String detail)
          Construct with only a detail message.
 
Methods inherited from class com.lutris.util.ChainedException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseContentException

public DatabaseContentException(DBConnection connection,
                                java.lang.String detail)
Construct given a DBConnection.
Parameters:
connection - DBConnection to the database that got the error.
detail - Detail message.

DatabaseContentException

public DatabaseContentException(java.lang.String detail)
Construct with only a detail message.
Parameters:
detail - Detail message.

Enhydra 3.1 API