com.triactive.jdo
Class ClassNotPersistenceCapableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
com.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
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 |
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 messagenested
- the nested exception(s).
Copyright ? 2001 TriActive, Inc. All Rights Reserved.