com.triactive.jdo.store.sql
Class DuplicateColumnNameException

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.DuplicateColumnNameException
All Implemented Interfaces:
java.io.Serializable

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.

Author:
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

DuplicateColumnNameException

public DuplicateColumnNameException(Table table,
                                    Column column)
Constructs a duplicate column name exception.

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


Copyright © 2001-2007 The TJDO Project All Rights Reserved.