org.jpox.exceptions
Class ClassNotPersistenceCapableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
org.jpox.exceptions.ClassNotPersistenceCapableException
- All Implemented Interfaces:
- java.io.Serializable
- public class ClassNotPersistenceCapableException
- extends javax.jdo.JDOUserException
A 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.
- Version:
- $Revision: 1.3 $
- See Also:
ClassMetaData
,
Serialized Form
Constructor Summary |
ClassNotPersistenceCapableException(java.lang.String class_name)
Constructs a class-not-persistence-capable exception with the specified
detail message. |
ClassNotPersistenceCapableException(java.lang.String class_name,
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 |
ClassNotPersistenceCapableException
public ClassNotPersistenceCapableException(java.lang.String class_name)
- Constructs a class-not-persistence-capable exception with the specified
detail message.
- Parameters:
class_name
- Name of the class
ClassNotPersistenceCapableException
public ClassNotPersistenceCapableException(java.lang.String class_name,
java.lang.Exception nested)
- Constructs a class-not-persistence-capable exception with the specified
detail message and nested exception.
- Parameters:
class_name
- name of the classnested
- the nested exception(s).
Copyright © -2007 . All Rights Reserved.