public class EntityManagerSetupException extends TopLinkException
Modifier and Type | Field and Description |
---|---|
static int |
ATTEMPTED_REDEPLOY_WITHOUT_CLOSE |
static int |
CANNOT_DEPLOY_WITHOUT_PREDEPLOY |
static int |
CANNOT_PREDEPLOY |
static int |
CLASS_NOT_FOUND_FOR_PROPERTY |
static int |
CLASS_NOT_FOUND_WHILE_PROCESSING_ANNOTATIONS |
static int |
DEPLOY_FAILED |
static int |
ERROR_IN_SETUP_OF_EM |
static int |
EXCEPTION_IN_SETUP_OF_EM |
static int |
FAILED_TO_INSTANTIATE_LOGGER |
static int |
FAILED_TO_INSTANTIATE_SERVER_PLATFORM |
static int |
FAILED_WHILE_PROCESSING_PROPERTY |
static int |
JTA_PERSISTENCE_UNIT_INFO_MISSING_JTA_DATA_SOURCE |
static int |
MISSING_SERVER_PLATFORM_EXCEPTION |
static int |
PREDEPLOY_FAILED |
static int |
PU_NOT_EXIST |
static int |
SESSION_REMOVED_DURING_DEPLOYMENT |
static int |
SESSIONS_XML_VALIDATION_EXCEPTION |
static int |
WRONG_PROPERTY_VALUE_TYPE |
static int |
WRONG_SESSION_TYPE_EXCEPTION |
static int |
WRONG_WEAVING_PROPERTY_VALUE |
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
Modifier | Constructor and Description |
---|---|
|
EntityManagerSetupException()
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
protected |
EntityManagerSetupException(java.lang.String message)
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
protected |
EntityManagerSetupException(java.lang.String message,
java.lang.Throwable internalException)
INTERNAL:
TopLink exceptions should only be thrown by TopLink.
|
Modifier and Type | Method and Description |
---|---|
static EntityManagerSetupException |
attemptedRedeployWithoutClose(java.lang.String sessionName) |
static EntityManagerSetupException |
cannotDeployWithoutPredeploy(java.lang.String persistenceUnitName,
java.lang.String state) |
static EntityManagerSetupException |
cannotPredeploy(java.lang.String persistenceUnitName,
java.lang.String state) |
static EntityManagerSetupException |
classNotFoundForProperty(java.lang.String className,
java.lang.String propertyName,
java.lang.Exception exception) |
static EntityManagerSetupException |
classNotFoundWhileProcessingAnnotations(java.lang.String className,
java.lang.Exception exception) |
static EntityManagerSetupException |
deployFailed(java.lang.String persistenceUnitName,
java.lang.RuntimeException exception) |
static EntityManagerSetupException |
errorInSetupOfEM() |
static EntityManagerSetupException |
exceptionInSetupOfEM(java.lang.Exception exception) |
static EntityManagerSetupException |
failedToInstantiateLogger(java.lang.String loggerClassName,
java.lang.String propertyName,
java.lang.Exception exception) |
static EntityManagerSetupException |
failedToInstantiateServerPlatform(java.lang.String serverPlatformClass,
java.lang.String serverPlatformString,
java.lang.Exception exception) |
static EntityManagerSetupException |
failedWhileProcessingProperty(java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.Exception exception) |
static EntityManagerSetupException |
jtaPersistenceUnitInfoMissingJtaDataSource(java.lang.String persistenceUnitInfoName) |
static EntityManagerSetupException |
missingServerPlatformException(java.lang.String sessionName,
java.lang.String xmlFileName) |
static EntityManagerSetupException |
predeployFailed(java.lang.String persistenceUnitName,
java.lang.RuntimeException exception) |
static EntityManagerSetupException |
puNotExist(java.lang.String puName) |
static EntityManagerSetupException |
sessionRemovedDuringDeployment(java.lang.String sessionName) |
static EntityManagerSetupException |
sessionXMLValidationException(java.lang.String sessionName,
java.lang.String xmlFileName,
ValidationException exception) |
static EntityManagerSetupException |
wrongPropertyValueType(java.lang.String value,
java.lang.String expectedType,
java.lang.String propertyName) |
static EntityManagerSetupException |
wrongSessionTypeException(java.lang.String sessionName,
java.lang.String xmlFileName,
java.lang.Exception exception) |
static EntityManagerSetupException |
wrongWeavingPropertyValue() |
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
public static final int SESSIONS_XML_VALIDATION_EXCEPTION
public static final int WRONG_SESSION_TYPE_EXCEPTION
public static final int MISSING_SERVER_PLATFORM_EXCEPTION
public static final int ERROR_IN_SETUP_OF_EM
public static final int EXCEPTION_IN_SETUP_OF_EM
public static final int CLASS_NOT_FOUND_FOR_PROPERTY
public static final int FAILED_TO_INSTANTIATE_SERVER_PLATFORM
public static final int CLASS_NOT_FOUND_WHILE_PROCESSING_ANNOTATIONS
public static final int ATTEMPTED_REDEPLOY_WITHOUT_CLOSE
public static final int JTA_PERSISTENCE_UNIT_INFO_MISSING_JTA_DATA_SOURCE
public static final int SESSION_REMOVED_DURING_DEPLOYMENT
public static final int WRONG_PROPERTY_VALUE_TYPE
public static final int CANNOT_DEPLOY_WITHOUT_PREDEPLOY
public static final int FAILED_WHILE_PROCESSING_PROPERTY
public static final int FAILED_TO_INSTANTIATE_LOGGER
public static final int PU_NOT_EXIST
public static final int CANNOT_PREDEPLOY
public static final int PREDEPLOY_FAILED
public static final int DEPLOY_FAILED
public static final int WRONG_WEAVING_PROPERTY_VALUE
public EntityManagerSetupException()
protected EntityManagerSetupException(java.lang.String message)
protected EntityManagerSetupException(java.lang.String message, java.lang.Throwable internalException)
public static EntityManagerSetupException attemptedRedeployWithoutClose(java.lang.String sessionName)
public static EntityManagerSetupException missingServerPlatformException(java.lang.String sessionName, java.lang.String xmlFileName)
public static EntityManagerSetupException sessionRemovedDuringDeployment(java.lang.String sessionName)
public static EntityManagerSetupException sessionXMLValidationException(java.lang.String sessionName, java.lang.String xmlFileName, ValidationException exception)
public static EntityManagerSetupException wrongSessionTypeException(java.lang.String sessionName, java.lang.String xmlFileName, java.lang.Exception exception)
public static EntityManagerSetupException errorInSetupOfEM()
public static EntityManagerSetupException exceptionInSetupOfEM(java.lang.Exception exception)
public static EntityManagerSetupException classNotFoundForProperty(java.lang.String className, java.lang.String propertyName, java.lang.Exception exception)
public static EntityManagerSetupException failedToInstantiateServerPlatform(java.lang.String serverPlatformClass, java.lang.String serverPlatformString, java.lang.Exception exception)
public static EntityManagerSetupException classNotFoundWhileProcessingAnnotations(java.lang.String className, java.lang.Exception exception)
public static EntityManagerSetupException jtaPersistenceUnitInfoMissingJtaDataSource(java.lang.String persistenceUnitInfoName)
public static EntityManagerSetupException wrongPropertyValueType(java.lang.String value, java.lang.String expectedType, java.lang.String propertyName)
public static EntityManagerSetupException cannotDeployWithoutPredeploy(java.lang.String persistenceUnitName, java.lang.String state)
public static EntityManagerSetupException failedWhileProcessingProperty(java.lang.String propertyName, java.lang.String propertyValue, java.lang.Exception exception)
public static EntityManagerSetupException failedToInstantiateLogger(java.lang.String loggerClassName, java.lang.String propertyName, java.lang.Exception exception)
public static EntityManagerSetupException puNotExist(java.lang.String puName)
public static EntityManagerSetupException cannotPredeploy(java.lang.String persistenceUnitName, java.lang.String state)
public static EntityManagerSetupException predeployFailed(java.lang.String persistenceUnitName, java.lang.RuntimeException exception)
public static EntityManagerSetupException deployFailed(java.lang.String persistenceUnitName, java.lang.RuntimeException exception)
public static EntityManagerSetupException wrongWeavingPropertyValue()