| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception com.salmonllc.sql.DataStoreException com.salmonllc.sql.IntegrityException
IntegrityException | public class IntegrityException extends DataStoreException (Code) | | Indicates a referential integrity problem has occured with the database.
Either a required row is missing in a parent table (foreign key) during an
attempted row insert or update OR a table has rows where the primary key is
still being used in child tables during an attempted row deletion.
author: Tyler Williams http://www.dataterrace.com |
IntegrityException | public IntegrityException()(Code) | | Constructs an Exception with no specified detail message.
|
IntegrityException | public IntegrityException(String msg)(Code) | | Constructs an Exception with the specified detail message.
Parameters: msg - the detail message. |
IntegrityException | public IntegrityException(IntegrityMessage im)(Code) | | Constructs an Exception with an IntegrityMessage containing details.
Parameters: im - The IntegrityMessage that contains details of the error. |
IntegrityException | public IntegrityException(String msg, IntegrityMessage im)(Code) | | Constructs an Exception with the specified detail message.
Parameters: msg - the detail message. Parameters: im - The IntegrityMessage that contains details of the error. |
IntegrityException | public IntegrityException(String msg, IntegrityMessage im, int row)(Code) | | Constructs an Exception with the specified detail message.
Parameters: msg - the detail message. Parameters: im - The IntegrityMessage that contains details of the error. Parameters: row - The dataStore row number that caused the error. |
getIntegrityMessage | public IntegrityMessage getIntegrityMessage()(Code) | | Returns the IntegrityMessage that excapsulates cause of the error.
IntegrityMessage |
getRow | public int getRow()(Code) | | Returns the DataStore's row number that caused the error.
int |
|
|
|