|
||||||||||
| 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
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusDataStoreException
org.datanucleus.store.exceptions.DatastoreValidationException
org.datanucleus.store.rdbms.exceptions.WrongPrimaryKeyException
public class 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| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.exceptions.DatastoreValidationException |
|---|
LOCALISER |
| Constructor Summary | |
|---|---|
WrongPrimaryKeyException(String table_name,
String expected_pk,
String actual_pks)
Constructs a wrong primary key exception. |
|
| Method Summary |
|---|
| Methods inherited from class org.datanucleus.exceptions.NucleusException |
|---|
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WrongPrimaryKeyException(String table_name,
String expected_pk,
String actual_pks)
table_name - The table having the wrong primary key.expected_pk - The expected primary key of the table.actual_pks - The actual primary key(s) of the table.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||