org.datanucleus.jdo.exceptions
Class NoPersistenceInformationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.jdo.JDOException
javax.jdo.JDOCanRetryException
javax.jdo.JDOUserException
org.datanucleus.jdo.exceptions.NoPersistenceInformationException
- All Implemented Interfaces:
- java.io.Serializable
public class NoPersistenceInformationException
- extends javax.jdo.JDOUserException
Exception thrown when a class is required to have persistence information (metadata/annotations) yet none
can be found.
- Version:
- $Revision: 1.1 $
- See Also:
- Serialized Form
| 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 |
NoPersistenceInformationException
public NoPersistenceInformationException(java.lang.String className)
- Constructs an exception for the specified class.
- Parameters:
className - Name of the class
NoPersistenceInformationException
public NoPersistenceInformationException(java.lang.String className,
java.lang.Exception nested)
- Constructs an exception for the specified class with the supplied nested exception.
- Parameters:
className - Name of the classnested - the nested exception(s).
Copyright © 2011. All Rights Reserved.