Class NoPersistenceUnitException

  • All Implemented Interfaces:
    Serializable

    public class NoPersistenceUnitException
    extends RuntimeException
    Exception thrown when trying to create an EntityManagerFactory for a persistence-unit and we cant find a "persistence-unit" of the specified name.
    See Also:
    Serialized Form
    • Constructor Detail

      • NoPersistenceUnitException

        public NoPersistenceUnitException​(String msg)