DODS 6.5 API

com.lutris.appserver.server.sql
Class DatabaseContentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.lutris.appserver.server.sql.DatabaseContentException
All Implemented Interfaces:
java.io.Serializable

public class DatabaseContentException
extends java.lang.Exception

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

Since:
LBS1.7
Version:
$Revision: 1.1 $
Author:
Kyle Clark
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 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

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.

DODS 6.5 API