com.xavax.xstore.exception
Class ClassNotSupportedException

Object
  extended byThrowable
      extended byException
          extended byRuntimeException
              extended byPersistenceException
                  extended byClassNotSupportedException
All Implemented Interfaces:
Serializable

public class ClassNotSupportedException
extends PersistenceException

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.

See Also:
Serialized Form

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

ClassNotSupportedException

public ClassNotSupportedException(PersistenceManager pm,
                                  ClassMap cmap,
                                  DatabaseMap dmap,
                                  Throwable cause)
Construct a ClassNotSupportedException.

Parameters:
pm - the persistence manager.
cmap - the metadata for the unsupported class.
dmap - the metadata for the database.
Method Detail

handle

public void handle()
Handle this exception by writing a description of the exception to the log file.

Overrides:
handle in class PersistenceException