|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Throwable Exception RuntimeException PersistenceException ClassNotSupportedException
ClassNotSupportedException is thrown when an attempt is made to create a persistent object in a database that does not contain the tables necessary to persist the object.
Constructor Summary | |
ClassNotSupportedException(PersistenceManager pm,
ClassMap cmap,
DatabaseMap dmap,
Throwable cause)
Construct a ClassNotSupportedException. |
Method Summary | |
void |
handle()
Handle this exception by writing a description of the exception to the log file. |
Methods inherited from class PersistenceException |
header, manager, name, trailer |
Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClassNotSupportedException(PersistenceManager pm, ClassMap cmap, DatabaseMap dmap, Throwable cause)
pm
- the persistence manager.cmap
- the metadata for the unsupported class.dmap
- the metadata for the database.Method Detail |
public void handle()
handle
in class PersistenceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |