com.triactive.jdo.store.sql
Class PrimaryKeyColumnNotAllowedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended byjavax.jdo.JDOFatalInternalException
                          extended bycom.triactive.jdo.store.sql.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.
 
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-2007 The TJDO Project All Rights Reserved.