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 an object whose class is not persistence-capable. This may be because the class has not been appropriately enhanced to be made persistence-capable, or because the class metadata is not accessible.

Author:
Mike Martin
See Also:
ClassMetaData, Serialized Form

Field Summary
 
Fields inherited from class javax.jdo.JDOException
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
ClassNotPersistenceCapableException(java.lang.String msg)
          Constructs a class-not-persistence-capable exception with the specified detail message.
ClassNotPersistenceCapableException(java.lang.String msg, java.lang.Exception nested)
          Constructs a class-not-persistence-capable exception with the specified detail message and nested exception.
 
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.String msg)
Constructs a class-not-persistence-capable exception with the specified detail message.

Parameters:
msg - the detail message

ClassNotPersistenceCapableException

public ClassNotPersistenceCapableException(java.lang.String msg,
                                           java.lang.Exception nested)
Constructs a class-not-persistence-capable exception with the specified detail message and nested exception.

Parameters:
msg - the detail message
nested - the nested exception(s).


Copyright © 2001 TriActive, Inc. All Rights Reserved.