org.datanucleus.exceptions
Class NoPersistenceInformationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.exceptions.NoPersistenceInformationException
All Implemented Interfaces:
java.io.Serializable

public class NoPersistenceInformationException
extends NucleusUserException

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

Constructor Summary
NoPersistenceInformationException(java.lang.String className)
          Constructs an exception for the specified class.
NoPersistenceInformationException(java.lang.String className, java.lang.Exception nested)
          Constructs an exception for the specified class with the supplied nested exception.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 class
nested - the nested exception(s).


Copyright © 2010. All Rights Reserved.