org.jpox.store.rdbms.exceptions
Class DuplicateColumnNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOFatalException
javax.jdo.JDOFatalInternalException
org.jpox.store.rdbms.exceptions.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.
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
Method Summary |
Column |
getConflictingColumn()
Accessor for the column that could not be created because it conflicts with something already present. |
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 |
DuplicateColumnNameException
public DuplicateColumnNameException(java.lang.String tableName,
Column column,
Column conflictingColumn)
- Constructs a duplicate column name exception.
- Parameters:
tableName
- Name of the table being initialized.column
- Column we already haveconflictingColumn
- Column that we tried to create
getConflictingColumn
public Column getConflictingColumn()
- Accessor for the column that could not be created because it conflicts with something already present.
- Returns:
- The column
Copyright © -2007 . All Rights Reserved.