org.datanucleus.store.rdbms.exceptions
Class PrimaryKeyColumnNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.store.rdbms.exceptions.PrimaryKeyColumnNotAllowedException
- All Implemented Interfaces:
- java.io.Serializable
public class PrimaryKeyColumnNotAllowedException
- extends org.datanucleus.exceptions.NucleusException
A PrimaryKeyColumnNotAllowedException is thrown if an attempt is
made to add a primary key column to a view.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
|
Field Summary |
protected static org.datanucleus.util.Localiser |
LOCALISER
|
| 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 |
LOCALISER
protected static final org.datanucleus.util.Localiser LOCALISER
PrimaryKeyColumnNotAllowedException
public PrimaryKeyColumnNotAllowedException(java.lang.String viewName,
java.lang.String columnName)
- Constructs a primary key not allowed exception.
- Parameters:
viewName - Name of the view being initialized.columnName - Name of the column having the duplicate name.
Copyright © 2009. All Rights Reserved.