com.triactive.jdo.store
Class PrimaryKeyColumnNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOFatalException
                      extended by javax.jdo.JDOFatalInternalException
                          extended by com.triactive.jdo.store.PrimaryKeyColumnNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class PrimaryKeyColumnNotAllowedException
extends javax.jdo.JDOFatalInternalException

A PrimaryKeyColumnNotAllowedException is thrown if an attempt is made to add a primary key column to a view.

Author:
Mike Martin
See Also:
AbstractTable.newColumn(Class,String), Serialized Form

Constructor Summary
PrimaryKeyColumnNotAllowedException(View view, Column column)
          Constructs a primary key not allowed exception.
 
Method Summary
 
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

PrimaryKeyColumnNotAllowedException

public PrimaryKeyColumnNotAllowedException(View view,
                                           Column column)
Constructs a primary key not allowed exception.

Parameters:
view - The view being initialized.
column - The column having the duplicate name.


Copyright ? 2001 TriActive, Inc. All Rights Reserved.