org.melati.poem
Class ColumnRenamePoemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.melati.poem.PoemException
                  extended by org.melati.poem.AccessPoemException
                      extended by org.melati.poem.ColumnRenamePoemException
All Implemented Interfaces:
java.io.Serializable

public class ColumnRenamePoemException
extends AccessPoemException

Column renaming is not supported by Postgresql.

See Also:
Serialized Form
To do something:
Allow column renaming for those dbms which allow it.

Field Summary
 java.lang.String columnName
          The current name of the Column.
 java.lang.String newName
          The attempted rename.
 
Fields inherited from class org.melati.poem.AccessPoemException
capability, token
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
ColumnRenamePoemException(java.lang.String newName)
          Constructor.
ColumnRenamePoemException(java.lang.String columnName, java.lang.String newName)
          Constructor.
 
Method Summary
 java.lang.String getMessage()
          The detail message which may be null.
 
Methods inherited from class org.melati.poem.AccessPoemException
getActionDescription, getToken
 
Methods inherited from class org.melati.poem.PoemException
getCoreMessage, initCause, innermostException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columnName

public java.lang.String columnName
The current name of the Column.


newName

public java.lang.String newName
The attempted rename.

Constructor Detail

ColumnRenamePoemException

public ColumnRenamePoemException(java.lang.String columnName,
                                 java.lang.String newName)
Constructor.

Parameters:
columnName - The current name
newName - The new name

ColumnRenamePoemException

public ColumnRenamePoemException(java.lang.String newName)
Constructor.

Parameters:
newName - The new name
Method Detail

getMessage

public java.lang.String getMessage()
The detail message which may be null.

Overrides:
getMessage in class AccessPoemException
Returns:
The detail message
See Also:
AccessPoemException.getMessage(), Throwable.getMessage()


Copyright © 2000-2009 PanEris. All Rights Reserved.