org.opengts.dbtools
Class DBAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opengts.dbtools.DBException
              extended by org.opengts.dbtools.DBAlreadyExistsException
All Implemented Interfaces:
java.io.Serializable

public class DBAlreadyExistsException
extends DBException

DBAlreadyExistsException is thrown in cases where no record was expected, but a record was found.

See Also:
Serialized Form

Constructor Summary
DBAlreadyExistsException(java.lang.String msg)
          Constructor
DBAlreadyExistsException(java.lang.String msg, java.lang.Throwable cause)
          Constructor
 
Method Summary
 
Methods inherited from class org.opengts.dbtools.DBException
getCauseMessage, getMessage, isCauseCommunicationsException, isCommunicationsException, isOutOfMemoryError, isSQLException, printException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBAlreadyExistsException

public DBAlreadyExistsException(java.lang.String msg)
Constructor

Parameters:
msg - The String message associated with this Exception

DBAlreadyExistsException

public DBAlreadyExistsException(java.lang.String msg,
                                java.lang.Throwable cause)
Constructor

Parameters:
msg - The String message associated with this Exception
cause - The cause of this exception