com.xavax.xstore.exception
Class ClassNotRegisteredException

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

public class ClassNotRegisteredException
extends PersistenceException

ClassNotRegisteredException is thrown when an attempt is made to use a class that was not registered with the persistence manager and described in the metadata.

See Also:
Serialized Form

Constructor Summary
ClassNotRegisteredException(PersistenceManager pm, String className)
          Construct a ClassNotRegisteredException.
 
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

ClassNotRegisteredException

public ClassNotRegisteredException(PersistenceManager pm,
                                   String className)
Construct a ClassNotRegisteredException.

Parameters:
pm - the persistence manager.
className - the name of the unregistered class.
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