Top Fields Constructors Methods
org.eclipse.persistence.exceptions

public Class EntityManagerSetupException

extends EclipseLinkException
Class Inheritance
Imports
org.eclipse.persistence.exceptions.i18n.*

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
Inherited from org.eclipse.persistence.exceptions.EclipseLinkException:
CRerrorCodehasBeenLoggedindentationStringinternalExceptionsessionshouldPrintInternalException

Constructor Summary

AccessConstructor and Description
public
EntityManagerSetupException()

INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.

protected
EntityManagerSetupException(String message)

INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.

protected
EntityManagerSetupException(String message, Throwable internalException)

INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.

Method Summary

Modifier and TypeMethod and Description
public static EntityManagerSetupException
public static EntityManagerSetupException
public static EntityManagerSetupException
cannotDeployWithoutPredeploy(String persistenceUnitName, String state, Exception exception)

public static EntityManagerSetupException
cannotPredeploy(String persistenceUnitName, String state, Exception exception)

public static EntityManagerSetupException
classNotFoundForProperty(String className, String propertyName, Exception exception)

public static EntityManagerSetupException
public static EntityManagerSetupException
compositeIncompatibleWithSessionsXml(String persistenceUnitName)

INTERNAL: Persistence unit tries to use sessions.xml and to be a composite.

public static EntityManagerSetupException
compositeMemberCannotBeUsedStandalone(String persistenceUnitName)

INTERNAL: Persistence unit tries to use sessions.xml and to be a composite.

public static EntityManagerSetupException
couldNotFindPersistenceUnitBundle(String persistenceUnitName)

INTERNAL: An OSGi application is trying to instantiate a persistence unit for which a bundle does not exist

public static EntityManagerSetupException
createContainerEntityManagerFactoryNotSupportedInOSGi()

INTERNAL: Our OSGI persistence provider does not support a JavaEE-type deployment

public static EntityManagerSetupException
deployFailed(String persistenceUnitName, Throwable exception)

public static EntityManagerSetupException
public static EntityManagerSetupException
public static EntityManagerSetupException
failedToInstantiateLogger(String loggerClassName, String propertyName, Exception exception)

public static EntityManagerSetupException
failedToInstantiateProperty(String className, String property, Exception exception)

public static EntityManagerSetupException
failedToInstantiateServerPlatform(String serverPlatformClass, String serverPlatformString, Exception exception)

public static EntityManagerSetupException
failedToInstantiateTemporaryClassLoader(Exception exception)

INTERNAL: Reflective call with doPrivileged to create temporary classloader instance failed.

public static EntityManagerSetupException
failedWhileProcessingProperty(String propertyName, String propertyValue, Exception exception)

public static EntityManagerSetupException
public static EntityManagerSetupException
public static EntityManagerSetupException
public static EntityManagerSetupException
missingServerPlatformException(String sessionName, String xmlFileName)

public static EntityManagerSetupException
noTemporaryClassLoaderAvailable(String PUName)

INTERNAL: The implementation of getNewTempClassLoader is returning null instead of a temporary ClassLoader instance.

public static EntityManagerSetupException
predeployFailed(String persistenceUnitName, Throwable exception)

public static EntityManagerSetupException
public static EntityManagerSetupException
public static EntityManagerSetupException
public static EntityManagerSetupException
public static EntityManagerSetupException
sessionXMLValidationException(String sessionName, String xmlFileName, ValidationException exception)

public static EntityManagerSetupException
wrongPropertyValueType(String value, String expectedType, String propertyName)

public static EntityManagerSetupException
wrongSessionTypeException(String sessionName, String xmlFileName, Exception exception)

public static EntityManagerSetupException
Inherited from org.eclipse.persistence.exceptions.EclipseLinkException:
crgetErrorCodegetIndentationStringgetInternalExceptiongetMessagegetSessiongetUnformattedMessagehasBeenLoggedprintStackTraceprintStackTraceprintStackTracesetErrorCodesetHasBeenLoggedsetIndentationStringsetInternalExceptionsetSessionsetShouldPrintInternalExceptionshouldPrintInternalExceptiontoString

Field Detail

ATTEMPTED_LOAD_SESSION_WITHOUT_NAME_PROVIDEDback to summary
public static final int ATTEMPTED_LOAD_SESSION_WITHOUT_NAME_PROVIDED
ATTEMPTED_REDEPLOY_WITHOUT_CLOSEback to summary
public static final int ATTEMPTED_REDEPLOY_WITHOUT_CLOSE
CANNOT_ACCESS_METHOD_ON_OBJECTback to summary
public static final int CANNOT_ACCESS_METHOD_ON_OBJECT
CANNOT_DEPLOY_WITHOUT_PREDEPLOYback to summary
public static final int CANNOT_DEPLOY_WITHOUT_PREDEPLOY
CANNOT_PREDEPLOYback to summary
public static final int CANNOT_PREDEPLOY
CLASS_NOT_FOUND_FOR_PROPERTYback to summary
public static final int CLASS_NOT_FOUND_FOR_PROPERTY
CLASS_NOT_FOUND_WHILE_PROCESSING_ANNOTATIONSback to summary
public static final int CLASS_NOT_FOUND_WHILE_PROCESSING_ANNOTATIONS
COMPOSITE_INCOMPATIBLE_WITH_SESSIONS_XMLback to summary
public static final int COMPOSITE_INCOMPATIBLE_WITH_SESSIONS_XML
COMPOSITE_MEMBER_CANNOT_BE_USED_STANDALONEback to summary
public static final int COMPOSITE_MEMBER_CANNOT_BE_USED_STANDALONE
COULD_NOT_FIND_PERSISTENCE_UNIT_BUNDLEback to summary
public static final int COULD_NOT_FIND_PERSISTENCE_UNIT_BUNDLE
CREATE_CONTAINER_EMF_NOT_SUPPORTED_IN_OSGIback to summary
public static final int CREATE_CONTAINER_EMF_NOT_SUPPORTED_IN_OSGI
DEPLOY_FAILEDback to summary
public static final int DEPLOY_FAILED
ERROR_IN_SETUP_OF_EMback to summary
public static final int ERROR_IN_SETUP_OF_EM
EXCEPTION_IN_SETUP_OF_EMback to summary
public static final int EXCEPTION_IN_SETUP_OF_EM
FAILED_TO_INSTANTIATE_LOGGERback to summary
public static final int FAILED_TO_INSTANTIATE_LOGGER
FAILED_TO_INSTANTIATE_PROPERTYback to summary
public static final int FAILED_TO_INSTANTIATE_PROPERTY
FAILED_TO_INSTANTIATE_SERVER_PLATFORMback to summary
public static final int FAILED_TO_INSTANTIATE_SERVER_PLATFORM
FAILED_TO_INSTANTIATE_TEMP_CLASSLOADERback to summary
public static final int FAILED_TO_INSTANTIATE_TEMP_CLASSLOADER
FAILED_WHILE_PROCESSING_PROPERTYback to summary
public static final int FAILED_WHILE_PROCESSING_PROPERTY
JTA_PERSISTENCE_UNIT_INFO_MISSING_JTA_DATA_SOURCEback to summary
public static final int JTA_PERSISTENCE_UNIT_INFO_MISSING_JTA_DATA_SOURCE
METHOD_INVOCATION_FAILEDback to summary
public static final int METHOD_INVOCATION_FAILED
MISSING_PROPERTYback to summary
public static final int MISSING_PROPERTY
MISSING_SERVER_PLATFORM_EXCEPTIONback to summary
public static final int MISSING_SERVER_PLATFORM_EXCEPTION
NO_TEMPORARY_CLASSLOADER_AVAILABLEback to summary
public static final int NO_TEMPORARY_CLASSLOADER_AVAILABLE
PREDEPLOY_FAILEDback to summary
public static final int PREDEPLOY_FAILED
PU_NOT_EXISTback to summary
public static final int PU_NOT_EXIST
SESSION_LOADED_FROM_SESSIONSXML_MUST_BE_SERVER_SESSIONback to summary
public static final int SESSION_LOADED_FROM_SESSIONSXML_MUST_BE_SERVER_SESSION
SESSION_REMOVED_DURING_DEPLOYMENTback to summary
public static final int SESSION_REMOVED_DURING_DEPLOYMENT
SESSIONS_XML_VALIDATION_EXCEPTIONback to summary
public static final int SESSIONS_XML_VALIDATION_EXCEPTION
WRONG_PROPERTY_VALUE_TYPEback to summary
public static final int WRONG_PROPERTY_VALUE_TYPE
WRONG_SESSION_TYPE_EXCEPTIONback to summary
public static final int WRONG_SESSION_TYPE_EXCEPTION
WRONG_WEAVING_PROPERTY_VALUEback to summary
public static final int WRONG_WEAVING_PROPERTY_VALUE

Constructor Detail

EntityManagerSetupExceptionback to summary
public EntityManagerSetupException()

INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.

EntityManagerSetupExceptionback to summary
protected EntityManagerSetupException(String message)

INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.

EntityManagerSetupExceptionback to summary
protected EntityManagerSetupException(String message, Throwable internalException)

INTERNAL: EclipseLink exceptions should only be thrown by EclipseLink.

Method Detail

attemptedRedeployWithoutCloseback to summary
public static EntityManagerSetupException attemptedRedeployWithoutClose(String sessionName)
cannotAccessMethodOnObjectback to summary
public static EntityManagerSetupException cannotAccessMethodOnObject(Method aMethod, Object anObject)
cannotDeployWithoutPredeployback to summary
public static EntityManagerSetupException cannotDeployWithoutPredeploy(String persistenceUnitName, String state, Exception exception)
cannotPredeployback to summary
public static EntityManagerSetupException cannotPredeploy(String persistenceUnitName, String state, Exception exception)
classNotFoundForPropertyback to summary
public static EntityManagerSetupException classNotFoundForProperty(String className, String propertyName, Exception exception)
classNotFoundWhileProcessingAnnotationsback to summary
public static EntityManagerSetupException classNotFoundWhileProcessingAnnotations(String className, Exception exception)
compositeIncompatibleWithSessionsXmlback to summary
public static EntityManagerSetupException compositeIncompatibleWithSessionsXml(String persistenceUnitName)

INTERNAL: Persistence unit tries to use sessions.xml and to be a composite.

compositeMemberCannotBeUsedStandaloneback to summary
public static EntityManagerSetupException compositeMemberCannotBeUsedStandalone(String persistenceUnitName)

INTERNAL: Persistence unit tries to use sessions.xml and to be a composite.

couldNotFindPersistenceUnitBundleback to summary
public static EntityManagerSetupException couldNotFindPersistenceUnitBundle(String persistenceUnitName)

INTERNAL: An OSGi application is trying to instantiate a persistence unit for which a bundle does not exist

createContainerEntityManagerFactoryNotSupportedInOSGiback to summary
public static EntityManagerSetupException createContainerEntityManagerFactoryNotSupportedInOSGi()

INTERNAL: Our OSGI persistence provider does not support a JavaEE-type deployment

deployFailedback to summary
public static EntityManagerSetupException deployFailed(String persistenceUnitName, Throwable exception)
errorInSetupOfEMback to summary
public static EntityManagerSetupException errorInSetupOfEM()
exceptionInSetupOfEMback to summary
public static EntityManagerSetupException exceptionInSetupOfEM(Exception exception)
failedToInstantiateLoggerback to summary
public static EntityManagerSetupException failedToInstantiateLogger(String loggerClassName, String propertyName, Exception exception)
failedToInstantiatePropertyback to summary
public static EntityManagerSetupException failedToInstantiateProperty(String className, String property, Exception exception)
failedToInstantiateServerPlatformback to summary
public static EntityManagerSetupException failedToInstantiateServerPlatform(String serverPlatformClass, String serverPlatformString, Exception exception)
failedToInstantiateTemporaryClassLoaderback to summary
public static EntityManagerSetupException failedToInstantiateTemporaryClassLoader(Exception exception)

INTERNAL: Reflective call with doPrivileged to create temporary classloader instance failed.

failedWhileProcessingPropertyback to summary
public static EntityManagerSetupException failedWhileProcessingProperty(String propertyName, String propertyValue, Exception exception)
jtaPersistenceUnitInfoMissingJtaDataSourceback to summary
public static EntityManagerSetupException jtaPersistenceUnitInfoMissingJtaDataSource(String persistenceUnitInfoName)
methodInvocationFailedback to summary
public static EntityManagerSetupException methodInvocationFailed(Method aMethod, Object anObject, Exception ex)
missingPropertyback to summary
public static EntityManagerSetupException missingProperty(String property)
missingServerPlatformExceptionback to summary
public static EntityManagerSetupException missingServerPlatformException(String sessionName, String xmlFileName)
noTemporaryClassLoaderAvailableback to summary
public static EntityManagerSetupException noTemporaryClassLoaderAvailable(String PUName)

INTERNAL: The implementation of getNewTempClassLoader is returning null instead of a temporary ClassLoader instance.

predeployFailedback to summary
public static EntityManagerSetupException predeployFailed(String persistenceUnitName, Throwable exception)
puNotExistback to summary
public static EntityManagerSetupException puNotExist(String puName)
sessionLoadedFromSessionsXMLMustBeServerSessionback to summary
public static EntityManagerSetupException sessionLoadedFromSessionsXMLMustBeServerSession(String sessionName, String sessionsXML, Object session)
sessionNameNeedBeSpecifiedback to summary
public static EntityManagerSetupException sessionNameNeedBeSpecified(String PUName, String sessionsXML)
sessionRemovedDuringDeploymentback to summary
public static EntityManagerSetupException sessionRemovedDuringDeployment(String sessionName)
sessionXMLValidationExceptionback to summary
public static EntityManagerSetupException sessionXMLValidationException(String sessionName, String xmlFileName, ValidationException exception)
wrongPropertyValueTypeback to summary
public static EntityManagerSetupException wrongPropertyValueType(String value, String expectedType, String propertyName)
wrongSessionTypeExceptionback to summary
public static EntityManagerSetupException wrongSessionTypeException(String sessionName, String xmlFileName, Exception exception)
wrongWeavingPropertyValueback to summary
public static EntityManagerSetupException wrongWeavingPropertyValue()