Methods Summary |
---|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | attemptedRedeployWithoutClose(java.lang.String sessionName)
Object[] args = { sessionName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, ATTEMPTED_REDEPLOY_WITHOUT_CLOSE, args));
setupException.setErrorCode(ATTEMPTED_REDEPLOY_WITHOUT_CLOSE);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | cannotDeployWithoutPredeploy(java.lang.String persistenceUnitName, java.lang.String state)
Object[] args = { persistenceUnitName, state };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, CANNOT_DEPLOY_WITHOUT_PREDEPLOY, args));
setupException.setErrorCode(CANNOT_DEPLOY_WITHOUT_PREDEPLOY);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | cannotPredeploy(java.lang.String persistenceUnitName, java.lang.String state)
Object[] args = { persistenceUnitName, state };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, CANNOT_PREDEPLOY, args));
setupException.setErrorCode(CANNOT_PREDEPLOY);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | classNotFoundForProperty(java.lang.String className, java.lang.String propertyName, java.lang.Exception exception)
Object[] args = { className, propertyName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, CLASS_NOT_FOUND_FOR_PROPERTY, args), exception);
setupException.setErrorCode(CLASS_NOT_FOUND_FOR_PROPERTY);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | classNotFoundWhileProcessingAnnotations(java.lang.String className, java.lang.Exception exception)
Object[] args = { className };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, CLASS_NOT_FOUND_WHILE_PROCESSING_ANNOTATIONS, args), exception);
setupException.setErrorCode(CLASS_NOT_FOUND_WHILE_PROCESSING_ANNOTATIONS);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | deployFailed(java.lang.String persistenceUnitName, java.lang.RuntimeException exception)
Object[] args = { persistenceUnitName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, DEPLOY_FAILED, args), exception);
setupException.setErrorCode(DEPLOY_FAILED);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | errorInSetupOfEM()
Object[] args = { };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, ERROR_IN_SETUP_OF_EM, args));
setupException.setErrorCode(ERROR_IN_SETUP_OF_EM);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | exceptionInSetupOfEM(java.lang.Exception exception)
Object[] args = { };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, EXCEPTION_IN_SETUP_OF_EM, args), exception);
setupException.setErrorCode(EXCEPTION_IN_SETUP_OF_EM);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | failedToInstantiateLogger(java.lang.String loggerClassName, java.lang.String propertyName, java.lang.Exception exception)
Object[] args = { loggerClassName, propertyName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, FAILED_TO_INSTANTIATE_LOGGER, args), exception);
setupException.setErrorCode(FAILED_TO_INSTANTIATE_LOGGER);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | failedToInstantiateServerPlatform(java.lang.String serverPlatformClass, java.lang.String serverPlatformString, java.lang.Exception exception)
Object[] args = { serverPlatformClass, serverPlatformString };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, FAILED_TO_INSTANTIATE_SERVER_PLATFORM, args), exception);
setupException.setErrorCode(FAILED_TO_INSTANTIATE_SERVER_PLATFORM);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | failedWhileProcessingProperty(java.lang.String propertyName, java.lang.String propertyValue, java.lang.Exception exception)
Object[] args = { propertyName, propertyValue };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, FAILED_WHILE_PROCESSING_PROPERTY, args), exception);
setupException.setErrorCode(FAILED_WHILE_PROCESSING_PROPERTY);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | jtaPersistenceUnitInfoMissingJtaDataSource(java.lang.String persistenceUnitInfoName)
Object[] args = { persistenceUnitInfoName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, JTA_PERSISTENCE_UNIT_INFO_MISSING_JTA_DATA_SOURCE, args));
setupException.setErrorCode(JTA_PERSISTENCE_UNIT_INFO_MISSING_JTA_DATA_SOURCE);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | missingServerPlatformException(java.lang.String sessionName, java.lang.String xmlFileName)
Object[] args = { sessionName, xmlFileName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, MISSING_SERVER_PLATFORM_EXCEPTION, args));
setupException.setErrorCode(MISSING_SERVER_PLATFORM_EXCEPTION);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | predeployFailed(java.lang.String persistenceUnitName, java.lang.RuntimeException exception)
Object[] args = { persistenceUnitName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, PREDEPLOY_FAILED, args), exception);
setupException.setErrorCode(PREDEPLOY_FAILED);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | puNotExist(java.lang.String puName)
Object[] args = { puName};
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, PU_NOT_EXIST, args));
setupException.setErrorCode(PU_NOT_EXIST);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | sessionRemovedDuringDeployment(java.lang.String sessionName)
Object[] args = { sessionName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, SESSION_REMOVED_DURING_DEPLOYMENT, args));
setupException.setErrorCode(SESSION_REMOVED_DURING_DEPLOYMENT);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | sessionXMLValidationException(java.lang.String sessionName, java.lang.String xmlFileName, oracle.toplink.essentials.exceptions.ValidationException exception)
Object[] args = { sessionName, xmlFileName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, SESSIONS_XML_VALIDATION_EXCEPTION, args), exception);
setupException.setErrorCode(SESSIONS_XML_VALIDATION_EXCEPTION);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | wrongPropertyValueType(java.lang.String value, java.lang.String expectedType, java.lang.String propertyName)
Object[] args = { value, expectedType, propertyName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, WRONG_PROPERTY_VALUE_TYPE, args));
setupException.setErrorCode(WRONG_PROPERTY_VALUE_TYPE);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | wrongSessionTypeException(java.lang.String sessionName, java.lang.String xmlFileName, java.lang.Exception exception)
Object[] args = { sessionName, xmlFileName };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, WRONG_SESSION_TYPE_EXCEPTION, args), exception);
setupException.setErrorCode(WRONG_SESSION_TYPE_EXCEPTION);
return setupException;
|
public static oracle.toplink.essentials.exceptions.EntityManagerSetupException | wrongWeavingPropertyValue()
Object[] args = { };
EntityManagerSetupException setupException = new EntityManagerSetupException(ExceptionMessageGenerator.buildMessage(EntityManagerSetupException.class, WRONG_WEAVING_PROPERTY_VALUE, args));
setupException.setErrorCode(WRONG_WEAVING_PROPERTY_VALUE);
return setupException;
|