public class PersistenceUnitLoadingException extends EclipseLinkException
Modifier and Type | Field and Description |
---|---|
static int |
CANNOT_REFRESH_EMF_CREATED_FROM_SESSION |
static int |
COULD_NOT_GET_CLASS_NAMES_FROM_URL |
static int |
COULD_NOT_GET_PERSISTENCE_UNIT_INFO_FROM_URL |
static int |
EXCEPTION_BUILDING_PERSISTENCE_UNIT_NAME |
static int |
EXCEPTION_CREATING_ARCHIVE_FACTORY |
static int |
EXCEPTION_LOADING_CLASS |
static int |
EXCEPTION_LOADING_FROM_DIRECTORY |
static int |
EXCEPTION_LOADING_FROM_JAR |
static int |
EXCEPTION_LOADING_FROM_URL |
static int |
EXCEPTION_LOADING_VALIDATION_GROUP_CLASS |
static int |
EXCEPTION_OBTAINING_REQUIRED_BEAN_VALIDATOR_FACTORY |
static int |
EXCEPTION_OPENING_ORM_XML |
static int |
EXCEPTION_PROCESSING_PERSISTENCE_UNIT |
static int |
EXCEPTION_PROCESSING_PERSISTENCE_XML |
static int |
EXCEPTION_SEARCHING_FOR_ENTITIES |
static int |
EXCEPTION_SEARCHING_FOR_PERSISTENCE_RESOURCES |
static int |
FILE_PATH_MISSING_EXCEPTION |
static int |
PERSISTENCE_UNIT_NAME_ALREADY_IN_USE |
static int |
SESSION_NAME_ALREADY_IN_USE |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Modifier | Constructor and Description |
---|---|
|
PersistenceUnitLoadingException()
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
protected |
PersistenceUnitLoadingException(java.lang.String message)
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
protected |
PersistenceUnitLoadingException(java.lang.String message,
java.lang.Throwable internalException)
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int EXCEPTION_LOADING_FROM_DIRECTORY
public static final int EXCEPTION_LOADING_FROM_JAR
public static final int EXCEPTION_PROCESSING_PERSISTENCE_UNIT
public static final int EXCEPTION_PROCESSING_PERSISTENCE_XML
public static final int EXCEPTION_SEARCHING_FOR_PERSISTENCE_RESOURCES
public static final int EXCEPTION_SEARCHING_FOR_ENTITIES
public static final int EXCEPTION_LOADING_CLASS
public static final int FILE_PATH_MISSING_EXCEPTION
public static final int EXCEPTION_LOADING_FROM_URL
public static final int EXCEPTION_OPENING_ORM_XML
public static final int COULD_NOT_GET_CLASS_NAMES_FROM_URL
public static final int COULD_NOT_GET_PERSISTENCE_UNIT_INFO_FROM_URL
public static final int EXCEPTION_BUILDING_PERSISTENCE_UNIT_NAME
public static final int EXCEPTION_OBTAINING_REQUIRED_BEAN_VALIDATOR_FACTORY
public static final int EXCEPTION_LOADING_VALIDATION_GROUP_CLASS
public static final int SESSION_NAME_ALREADY_IN_USE
public static final int PERSISTENCE_UNIT_NAME_ALREADY_IN_USE
public static final int EXCEPTION_CREATING_ARCHIVE_FACTORY
public static final int CANNOT_REFRESH_EMF_CREATED_FROM_SESSION
public PersistenceUnitLoadingException()
protected PersistenceUnitLoadingException(java.lang.String message)
protected PersistenceUnitLoadingException(java.lang.String message, java.lang.Throwable internalException)
public static PersistenceUnitLoadingException exceptionLoadingFromDirectory(java.io.File directory, java.lang.Exception cause)
public static PersistenceUnitLoadingException filePathMissingException(java.lang.String filePath)
public static PersistenceUnitLoadingException exceptionLoadingFromJar(java.net.URL jarFile, java.lang.Exception cause)
public static PersistenceUnitLoadingException exceptionLoadingFromUrl(java.lang.String url, java.lang.Exception cause)
public static PersistenceUnitLoadingException exceptionProcessingPersistenceUnit(java.net.URL url, java.lang.Exception cause)
public static PersistenceUnitLoadingException exceptionProcessingPersistenceXML(java.net.URL url, java.lang.Exception cause)
public static PersistenceUnitLoadingException exceptionSearchingForPersistenceResources(java.lang.ClassLoader loader, java.lang.Exception cause)
public static PersistenceUnitLoadingException exceptionSearchingForEntities(java.net.URL url, java.lang.Exception cause)
public static PersistenceUnitLoadingException exceptionLoadingClassWhileLookingForAnnotations(java.lang.String className, java.lang.Exception cause)
public static PersistenceUnitLoadingException exceptionLoadingORMXML(java.lang.String fileName, java.lang.Exception cause)
public static PersistenceUnitLoadingException couldNotGetClassNamesFromUrl(java.net.URL url)
public static PersistenceUnitLoadingException couldNotGetUnitInfoFromUrl(java.net.URL url)
public static PersistenceUnitLoadingException couldNotBuildPersistenceUntiName(java.lang.Exception e, java.lang.String url, java.lang.String puName)
public static PersistenceUnitLoadingException exceptionObtainingRequiredBeanValidatorFactory(java.lang.Throwable cause)
public static PersistenceUnitLoadingException exceptionLoadingClassWhileInitializingValidationGroups(java.lang.String className, java.lang.Exception cause)
public static PersistenceUnitLoadingException sessionNameAlreadyInUse(java.lang.String sessionName, java.lang.String newPersistenceUnit, java.lang.String existingPersistenceUnit)
public static PersistenceUnitLoadingException persistenceUnitNameAlreadyInUse(java.lang.String persistenceUnit, java.lang.String newPersistenceUnitUrl, java.lang.String existingPersistenceUnitUrl)
public static PersistenceUnitLoadingException exceptionCreatingArchiveFactory(java.lang.String archiveFactoryClassName, java.lang.Exception e)
public static PersistenceUnitLoadingException cannotRefreshEntityManagerFactoryCreatedFromSession(java.lang.String persistenceUnitName)
public java.lang.String getResourceName()
public void setResourceName(java.lang.String resourceName)