Class PrimaryKeyColumnNotAllowedException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended byjavax.jdo.JDOFatalInternalException
All Implemented Interfaces:

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.

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

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


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

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

Copyright 2001-2007 The TJDO Project All Rights Reserved.