org.melati.poem
Class TableMismatchPoemException

Package class diagram package TableMismatchPoemException
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.TableMismatchPoemException
All Implemented Interfaces:
Serializable

public class TableMismatchPoemException
extends PoemException

Thrown during validation of a ReferencePoemType if a Persistent is claimed to be of that type but has the wrong Table set.

See Also:
Serialized Form

Field Summary
 Table table
          The Table it should have set.
 Persistent value
          The Persistent.
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
TableMismatchPoemException(Persistent value, Table table)
          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

value

public Persistent value
The Persistent.


table

public Table table
The Table it should have set.

Constructor Detail

TableMismatchPoemException

public TableMismatchPoemException(Persistent value,
                                  Table table)
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.