Class DuplicateColumnNameException

  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 DuplicateColumnNameException
extends javax.jdo.JDOFatalInternalException

A DuplicateColumnNameException is thrown if an attempt is made to add a column to a table with a name already in-use by an existing column.

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

Constructor Summary
DuplicateColumnNameException(Table table, Column column)
          Constructs a duplicate column name 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 DuplicateColumnNameException(Table table,
                                    Column column)
Constructs a duplicate column name exception.

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

Copyright 2001-2007 The TJDO Project All Rights Reserved.