ca.sqlpower.architect
Class DuplicateColumnException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.sqlpower.architect.ArchitectException
              extended by ca.sqlpower.architect.DuplicateColumnException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateColumnException
extends ArchitectException
implements java.io.Serializable

The DuplicateColumnException represents a failure to add a column to a table because the table already has a column with that name.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.sqlpower.architect.ArchitectException
cause
 
Constructor Summary
DuplicateColumnException(SQLTable table, java.lang.String dupColName)
           
 
Method Summary
 java.lang.String getDupColName()
          Gets the value of dupColName
 SQLTable getTable()
          Gets the value of table
 void setDupColName(java.lang.String argDupColName)
          Sets the value of dupColName
 void setTable(SQLTable argTable)
          Sets the value of table
 
Methods inherited from class ca.sqlpower.architect.ArchitectException
getCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateColumnException

public DuplicateColumnException(SQLTable table,
                                java.lang.String dupColName)
Method Detail

getTable

public SQLTable getTable()
Gets the value of table

Returns:
the value of table

setTable

public void setTable(SQLTable argTable)
Sets the value of table

Parameters:
argTable - Value to assign to this.table

getDupColName

public java.lang.String getDupColName()
Gets the value of dupColName

Returns:
the value of dupColName

setDupColName

public void setDupColName(java.lang.String argDupColName)
Sets the value of dupColName

Parameters:
argDupColName - Value to assign to this.dupColName


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca