org.datanucleus.jpa.exceptions
Class NoPersistenceUnitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.jpa.exceptions.NoPersistenceUnitException
All Implemented Interfaces:
java.io.Serializable

public class NoPersistenceUnitException
extends java.lang.RuntimeException

Exception thrown when trying to create an EntityManagerFactory for a persistence-unit and we cant find a "persistence-unit" of the specified name.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Constructor Summary
NoPersistenceUnitException(java.lang.String msg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoPersistenceUnitException

public NoPersistenceUnitException(java.lang.String msg)


Copyright © 2009. All Rights Reserved.