Class PrimaryKeyColumnNotAllowedException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by
All Implemented Interfaces:

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.

$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
protected static org.datanucleus.util.Localiser LOCALISER
Constructor Summary
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
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

Field Detail


protected static final org.datanucleus.util.Localiser LOCALISER
Constructor Detail


public PrimaryKeyColumnNotAllowedException(java.lang.String viewName,
                                           java.lang.String columnName)
Constructs a primary key not allowed exception.

viewName - Name of the view being initialized.
columnName - Name of the column having the duplicate name.

Copyright © 2009. All Rights Reserved.