org.melati.poem
Class ColumnRenamePoemException

Package class diagram package 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:
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
 String columnName
          The current name of the Column.
 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(String newName)
          Constructor.
ColumnRenamePoemException(String columnName, String newName)
          Constructor.
 
Method Summary
 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 String columnName
The current name of the Column.


newName

public String newName
The attempted rename.

Constructor Detail

ColumnRenamePoemException

public ColumnRenamePoemException(String columnName,
                                 String newName)
Constructor.

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

ColumnRenamePoemException

public ColumnRenamePoemException(String newName)
Constructor.

Parameters:
newName - The new name
Method Detail

getMessage

public 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-2010 PanEris. All Rights Reserved.