|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDODataStoreException
com.triactive.jdo.store.SchemaValidationException
com.triactive.jdo.store.sql.WrongPrimaryKeyException
A WrongPrimaryKeyException is thrown if a table is detected not to have the expected primary key in the database during schema validation.
Column,
Serialized Form| Constructor Summary | |
WrongPrimaryKeyException(Table table,
PrimaryKey expectedPK,
java.util.Collection actualPKs)
Constructs a wrong primary key exception. |
|
| Methods inherited from class com.triactive.jdo.store.SchemaValidationException |
toString |
| Methods inherited from class javax.jdo.JDOException |
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WrongPrimaryKeyException(Table table,
PrimaryKey expectedPK,
java.util.Collection actualPKs)
table - The table having the wrong primary key.expectedPK - The expected primary key of the table.actualPKs - The actual primary key(s) of the table.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||