com.triactive.jdo
Class ClassNotPersistenceCapableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDOUserException
                          extended bycom.triactive.jdo.ClassNotPersistenceCapableException
All Implemented Interfaces:
java.io.Serializable

public class ClassNotPersistenceCapableException
extends javax.jdo.JDOUserException

An ClassNotPersistenceCapableException is thrown if an attempt is made to persist or otherwise manage an object whose class is not persistence- capable. This may be because the class has not been appropriately enhanced or because the class metadata is not accessible.

Author:
Mike Martin
See Also:
Serialized Form

Constructor Summary
ClassNotPersistenceCapableException(java.lang.Class c)
          Constructs a class-not-persistence-capable exception with the specified detail message.
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassNotPersistenceCapableException

public ClassNotPersistenceCapableException(java.lang.Class c)
Constructs a class-not-persistence-capable exception with the specified detail message.

Parameters:
c - The class that is not PersistenceCapable.


Copyright 2001-2007 The TJDO Project All Rights Reserved.