Package org.datanucleus.api.jakarta
Class SingletonEMFException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.api.jakarta.SingletonEMFException
-
- All Implemented Interfaces:
Serializable
public class SingletonEMFException extends RuntimeException
Exception thrown when trying to create an EMF and using singleton setting yet one with this name already exists.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingletonEMFException(String message, JakartaEntityManagerFactory emf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JakartaEntityManagerFactory
getSingleton()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SingletonEMFException
public SingletonEMFException(String message, JakartaEntityManagerFactory emf)
- Parameters:
message
- The messageemf
- The EMF that is the singleton
-
-
Method Detail
-
getSingleton
public JakartaEntityManagerFactory getSingleton()
-
-