Fields Summary |
---|
private String | resourceName |
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 |
Methods Summary |
---|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | couldNotGetClassNamesFromUrl(java.net.URL url)
Object[] args = { url };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, COULD_NOT_GET_CLASS_NAMES_FROM_URL, args));
loadingException.setResourceName(url.toString());
loadingException.setErrorCode(COULD_NOT_GET_CLASS_NAMES_FROM_URL);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | couldNotGetUnitInfoFromUrl(java.net.URL url)
Object[] args = { url };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, COULD_NOT_GET_PERSISTENCE_UNIT_INFO_FROM_URL, args));
loadingException.setResourceName(url.toString());
loadingException.setErrorCode(COULD_NOT_GET_PERSISTENCE_UNIT_INFO_FROM_URL);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionLoadingClassWhileLookingForAnnotations(java.lang.String className, java.lang.Exception cause)
Object[] args = { className };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_LOADING_CLASS, args), cause);
loadingException.setErrorCode(EXCEPTION_LOADING_CLASS);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionLoadingFromDirectory(java.io.File directory, java.lang.Exception cause)
Object[] args = { directory };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_LOADING_FROM_DIRECTORY, args), cause);
loadingException.setResourceName(directory.toString());
loadingException.setErrorCode(EXCEPTION_LOADING_FROM_DIRECTORY);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionLoadingFromJar(java.net.URL jarFile, java.lang.Exception cause)
Object[] args = { jarFile };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_LOADING_FROM_JAR, args), cause);
loadingException.setResourceName(jarFile.toString());
loadingException.setErrorCode(EXCEPTION_LOADING_FROM_JAR);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionLoadingFromUrl(java.lang.String url, java.lang.Exception cause)
Object[] args = { url };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_LOADING_FROM_URL, args), cause);
loadingException.setResourceName(url);
loadingException.setErrorCode(EXCEPTION_LOADING_FROM_URL);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionLoadingORMXML(java.lang.String fileName, java.lang.Exception cause)
Object[] args = { fileName };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_OPENING_ORM_XML, args), cause);
loadingException.setResourceName(fileName);
loadingException.setErrorCode(EXCEPTION_OPENING_ORM_XML);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionProcessingPersistenceUnit(java.net.URL url, java.lang.Exception cause)
Object[] args = { url };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_PROCESSING_PERSISTENCE_UNIT, args), cause);
loadingException.setResourceName(url.toString());
loadingException.setErrorCode(EXCEPTION_PROCESSING_PERSISTENCE_UNIT);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionProcessingPersistenceXML(java.net.URL url, java.lang.Exception cause)
Object[] args = { url };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_PROCESSING_PERSISTENCE_XML, args), cause);
loadingException.setResourceName(url.toString());
loadingException.setErrorCode(EXCEPTION_PROCESSING_PERSISTENCE_XML);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionSearchingForEntities(java.net.URL url, java.lang.Exception cause)
Object[] args = { url };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_SEARCHING_FOR_ENTITIES, args), cause);
loadingException.setResourceName(url.toString());
loadingException.setErrorCode(EXCEPTION_SEARCHING_FOR_ENTITIES);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | exceptionSearchingForPersistenceResources(java.lang.ClassLoader loader, java.lang.Exception cause)
Object[] args = { loader };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, EXCEPTION_SEARCHING_FOR_PERSISTENCE_RESOURCES, args), cause);
loadingException.setErrorCode(EXCEPTION_SEARCHING_FOR_PERSISTENCE_RESOURCES);
return loadingException;
|
public static oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException | filePathMissingException(java.lang.String filePath)
Object[] args = { filePath };
PersistenceUnitLoadingException loadingException = new PersistenceUnitLoadingException(ExceptionMessageGenerator.buildMessage(PersistenceUnitLoadingException.class, FILE_PATH_MISSING_EXCEPTION, args));
loadingException.setResourceName(filePath);
loadingException.setErrorCode(FILE_PATH_MISSING_EXCEPTION);
return loadingException;
|
public java.lang.String | getResourceName()
return resourceName;
|
public void | setResourceName(java.lang.String resourceName)
this.resourceName = resourceName;
|