org.melati.poem
Class IndexUniquenessPoemException

Package class diagram package IndexUniquenessPoemException
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.SeriousPoemException
                      extended by org.melati.poem.IndexUniquenessPoemException
All Implemented Interfaces:
Serializable

public class IndexUniquenessPoemException
extends SeriousPoemException

Thrown when there is a mismatch over the uniqueness of an index in the Poem metadata and the jdbc metadata.

See Also:
Serialized Form

Field Summary
 Column column
          The Column we are dealing with.
 String indexName
          The column's index.
 boolean meantToBeUnique
          Whether this Column should be unique.
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
IndexUniquenessPoemException(Column column, String indexName, boolean meantToBeUnique)
          Constructor.
 
Method Summary
 String getMessage()
          The detail message which may be null.
 
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

column

public Column column
The Column we are dealing with.


indexName

public String indexName
The column's index.


meantToBeUnique

public boolean meantToBeUnique
Whether this Column should be unique.

Constructor Detail

IndexUniquenessPoemException

public IndexUniquenessPoemException(Column column,
                                    String indexName,
                                    boolean meantToBeUnique)
Constructor.

Method Detail

getMessage

public String getMessage()
Description copied from class: PoemException
The detail message which may be null.

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


Copyright © 2000-2010 PanEris. All Rights Reserved.