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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description PrimaryKeyColumnNotAllowedException(java.lang.String viewName, java.lang.String columnName)
Constructs a primary key not allowed exception.
-
Method Summary
-
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedException
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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.
-
-