org.melati.poem
Class ColumnRenamePoemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.melati.poem.PoemException
org.melati.poem.AccessPoemException
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. |
|
Method Summary |
java.lang.String |
getMessage()
The detail message which may be null. |
| 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 |
columnName
public java.lang.String columnName
- The current name of the Column.
newName
public java.lang.String newName
- The attempted rename.
ColumnRenamePoemException
public ColumnRenamePoemException(java.lang.String columnName,
java.lang.String newName)
- Constructor.
- Parameters:
columnName - The current namenewName - The new name
ColumnRenamePoemException
public ColumnRenamePoemException(java.lang.String newName)
- Constructor.
- Parameters:
newName - The new name
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.